Repository navigation
Commit 221adf0
committed
test(html,css): pin how a map reaches nested source, and what cannot carry one
Verifying whether the serializer needs to rewrite maps turned up that it does
not, and the reasons are worth holding still.
Inline content takes its map in the body: a `sourceMappingURL` in a `<style>`
or `<script>` is the only form a browser honours there, and a renderer can
already write one — it survives the print, `collapseWhitespace: "all"`
included. An attribute cannot carry one at all: a comment escapes the rule
wrapper, so the value is kept as written rather than half-rewritten.
And the stylesheet's own map stays coherent when a `data:` payload is
rewritten to a different length — the url goes out as one piece, so what
follows it moves with it.1 parent db82d5e commit 221adf0
4 files changed
Lines changed: 67 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6494 | 6494 | | |
6495 | 6495 | | |
6496 | 6496 | | |
| 6497 | + | |
| 6498 | + | |
| 6499 | + | |
| 6500 | + | |
| 6501 | + | |
| 6502 | + | |
| 6503 | + | |
| 6504 | + | |
| 6505 | + | |
| 6506 | + | |
| 6507 | + | |
| 6508 | + | |
| 6509 | + | |
| 6510 | + | |
| 6511 | + | |
| 6512 | + | |
| 6513 | + | |
| 6514 | + | |
| 6515 | + | |
| 6516 | + | |
| 6517 | + | |
| 6518 | + | |
| 6519 | + | |
| 6520 | + | |
| 6521 | + | |
| 6522 | + | |
| 6523 | + | |
| 6524 | + | |
| 6525 | + | |
6497 | 6526 | | |
6498 | 6527 | | |
6499 | 6528 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5070 | 5070 | | |
5071 | 5071 | | |
5072 | 5072 | | |
| 5073 | + | |
| 5074 | + | |
| 5075 | + | |
| 5076 | + | |
| 5077 | + | |
| 5078 | + | |
| 5079 | + | |
| 5080 | + | |
| 5081 | + | |
| 5082 | + | |
| 5083 | + | |
| 5084 | + | |
| 5085 | + | |
| 5086 | + | |
| 5087 | + | |
| 5088 | + | |
| 5089 | + | |
| 5090 | + | |
| 5091 | + | |
| 5092 | + | |
| 5093 | + | |
| 5094 | + | |
| 5095 | + | |
| 5096 | + | |
| 5097 | + | |
| 5098 | + | |
| 5099 | + | |
| 5100 | + | |
| 5101 | + | |
| 5102 | + | |
| 5103 | + | |
| 5104 | + | |
5073 | 5105 | | |
5074 | 5106 | | |
5075 | 5107 | | |
| |||
Submodule html5lib-tests updated 62 files
- README.md+3
- tree-construction/README.md-108
- tree-construction/adoption01.dat-354
- tree-construction/adoption02.dat-56
- tree-construction/blocks.dat-695
- tree-construction/comments01.dat-217
- tree-construction/doctype01.dat-474
- tree-construction/domjs-unsafe.dat
- tree-construction/entities01.dat-943
- tree-construction/entities02.dat-309
- tree-construction/foreign-fragment.dat-645
- tree-construction/html5test-com.dat-301
- tree-construction/inbody01.dat-54
- tree-construction/isindex.dat-49
- tree-construction/main-element.dat-46
- tree-construction/math.dat-104
- tree-construction/menuitem-element.dat-241
- tree-construction/namespace-sensitivity.dat-22
- tree-construction/noscript01.dat-237
- tree-construction/pending-spec-changes-plain-text-unsafe.dat
- tree-construction/pending-spec-changes.dat-46
- tree-construction/plain-text-unsafe.dat
- tree-construction/quirks01.dat-53
- tree-construction/ruby.dat-302
- tree-construction/scriptdata01.dat-372
- tree-construction/scripted/adoption01.dat-16
- tree-construction/scripted/ark.dat-27
- tree-construction/scripted/webkit01.dat-30
- tree-construction/search-element.dat-46
- tree-construction/svg.dat-104
- tree-construction/tables01.dat-323
- tree-construction/template.dat-1.7k
- tree-construction/tests1.dat-2.0k
- tree-construction/tests10.dat-853
- tree-construction/tests11.dat-523
- tree-construction/tests12.dat-62
- tree-construction/tests14.dat-75
- tree-construction/tests15.dat-216
- tree-construction/tests16.dat-2.6k
- tree-construction/tests17.dat-177
- tree-construction/tests18.dat-572
- tree-construction/tests19.dat-1.4k
- tree-construction/tests2.dat-831
- tree-construction/tests20.dat-842
- tree-construction/tests21.dat-306
- tree-construction/tests22.dat-190
- tree-construction/tests23.dat-168
- tree-construction/tests24.dat-79
- tree-construction/tests25.dat-288
- tree-construction/tests26.dat-453
- tree-construction/tests3.dat-305
- tree-construction/tests4.dat-74
- tree-construction/tests5.dat-210
- tree-construction/tests6.dat-663
- tree-construction/tests7.dat-453
- tree-construction/tests8.dat-165
- tree-construction/tests9.dat-482
- tree-construction/tests_innerHTML_1.dat-844
- tree-construction/tricky01.dat-336
- tree-construction/void-in-phrasing.dat-151
- tree-construction/webkit01.dat-783
- tree-construction/webkit02.dat-775
0 commit comments