J. King
da0a4b12e3
Spec-related update
See https://github.com/whatwg/html/pull/8271
Also removed test patches which are no longer needed, and fixed a bug
exposed by new tests
The testsuite includes tests for the new <search> element, but this is
not included in the specification yet, so the tests have been suppressed
1 year ago
J. King
e11401d10d
Avoid dynamic property creation
1 year ago
J. King
9097e61d97
Avoid use of @ operator
1 year ago
Dustin Wilson
02ec5df3fe
Make Serializer "block" query look for descendants rather than children
2 years ago
Dustin Wilson
61b842fa74
Added 'groupElements' serializer option
2 years ago
Dustin Wilson
c1dc4b55ce
Added form elements to serializer "block" elements
• select, fieldset, datalist, option, and optgroup are now treated as
block when pretty printing
• input, textarea, button, output are now treated as block only if not
the only child when pretty printing
2 years ago
Dustin Wilson
8e087054df
Dependency updates, added tbody to serializer "block" elements
2 years ago
Dustin Wilson
37f0fa8647
More Serializer fixes
2 years ago
Dustin Wilson
b908068603
Fixed error in pretty printing templates in preformatted content
2 years ago
Dustin Wilson
a8435f7c35
Added PHP 8.1 attributes to Stack methods to suppress deprecation errors
2 years ago
Dustin Wilson
afaf10d602
Fixed yet another xmlns issue...
3 years ago
Dustin Wilson
5495e7c81e
Fixed parameters for Serializer::getTemplateContent
3 years ago
Dustin Wilson
a76081fd18
Minor cleanup
3 years ago
Dustin Wilson
a4e1aa55d1
Changed typing for config in Serializer
3 years ago
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
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