Dustin Wilson
6ff01ee4f7
Changed serializer configuration to array
3 years ago
Dustin Wilson
08ba468214
100% coverage on pretty printing
3 years ago
Dustin Wilson
8361ea0d88
Working on inline whitespace collapsing, not quite right yet
3 years ago
Dustin Wilson
b145e1ebc9
Started fixing whitespace collapsing per specification
3 years ago
Dustin Wilson
6da73a3dab
Fixing bugs exposed when trying to extend Serializer
3 years ago
Dustin Wilson
7defc1cc1d
Changed to using recursion to simplify pretty printing
3 years ago
Dustin Wilson
4cd3a9b03d
Trying a rewrite with recursion to simplify pretty printing
3 years ago
Dustin Wilson
50943199b2
Tons of fixes
3 years ago
Dustin Wilson
422b94581e
Starting working on indention of templates
3 years ago
Dustin Wilson
5ce120d8f3
Removed template from the block element list
3 years ago
Dustin Wilson
12b90b92d0
Making more progress
3 years ago
Dustin Wilson
11980813bb
Minor spacing fixes, everything still pretty borked
3 years ago
Dustin Wilson
e38b2be10f
Making progress on pretty printing
3 years ago
Dustin Wilson
497a740c3d
More work on pretty printing
3 years ago
Dustin Wilson
b687860120
Starting to integrate pretty printer
3 years ago
Dustin Wilson
c5a3d635d5
Updated MensBeam\DOM\Inner namespace
3 years ago
Dustin Wilson
991b5ae540
Added Parser::parseInto
3 years ago
Dustin Wilson
5698a93c01
Added special template case for MensBeam DOM
3 years ago
J. King
f3833b8917
Add obsolete boolean attributes
3 years ago
J. King
7577a69b60
Clarify new serialization options
3 years ago
J. King
b904ea8b7c
Add docblocks for serializer config parameters
3 years ago
J. King
4ba7fb98f2
Correct docblock
3 years ago
J. King
7b4fe70f0a
Prototype of refined serialization
3 years ago
J. King
6d647f076b
Coerce attribute names less aggressively
3 years ago
J. King
2e2563cf15
Document serializer
3 years ago
J. King
29f2611c53
Remove or suppress coverage for unreachable lines
3 years ago
J. King
855e425ca5
Cover the rest of the serializer
3 years ago
J. King
48dca59eb1
Further improve coverage
3 years ago
J. King
3c647c2284
Improve coverage further
This fixes a bug with forms within templates
3 years ago
J. King
8d388ef8cd
Improve coverage
This uncovered three bugs:
- Unconsuming at EOF with error reporting off yielded incorrect tokens
- Mangled end tags in foreign content were not being matched correctly
- Broken characters produced a fatal error with error reporting on
3 years ago
J. King
a870147008
Add docblocks
3 years ago
J. King
1fa35a7ec4
Add missing docblocks
3 years ago
J. King
2c1fb15f17
Remove obsolete static property
This was previously used for encoding fallback
3 years ago
J. King
3de0f4343c
Fix remaining serializer bugs
3 years ago
J. King
180dcd3e51
Various corrections
3 years ago
J. King
c82127c61f
Hopefully complete serializer implementation
3 years ago
J. King
e74d0d0f31
Prototype of serializer
Templates will need further handling
3 years ago
J. King
e6d908a0ed
Start on serializer
3 years ago
J. King
7b9a6ca472
Fix fragment parsing with template context
3 years ago
J. King
a33bb2833b
Expand documentation
3 years ago
J. King
c8c06412d1
Simplify parser API
3 years ago
J. King
21fd99e40a
Remove most uses of parser exceptions
3 years ago
J. King
a6df609348
Remove all references to "tree builder"
3 years ago
J. King
ed42264348
Rename "tree builder" to "tree constructor"
This more closely matches modern specification nomenclature
3 years ago
J. King
6de6599411
Fix one last test
3 years ago
J. King
e26af87ee4
Tests for XML declaration-base encoding detection
Also adds a setting for controlling the number of pre-scan bytes
3 years ago
J. King
7901593961
Fix for the "after body" mode
3 years ago
J. King
29127c51ee
Update encoding pre-scan
Official tests are available in WPT,but will need a new test harness
3 years ago
J. King
4b5248f75a
Address most remaining test mismatches
3 years ago
J. King
4e8b8c8945
Resolve ambiguity in foreign content tests
This seems to violate the specification, but should be harmless
3 years ago