Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | |
michael@0 | 5 | <style id="firstLetterSheet"> |
michael@0 | 6 | .fl:first-letter { } |
michael@0 | 7 | </style> |
michael@0 | 8 | |
michael@0 | 9 | <style id="emptySheet"> |
michael@0 | 10 | </style> |
michael@0 | 11 | |
michael@0 | 12 | <script> |
michael@0 | 13 | |
michael@0 | 14 | function boom() |
michael@0 | 15 | { |
michael@0 | 16 | document.getElementById("firstLetterSheet").textContent = ""; |
michael@0 | 17 | document.getElementById("emptySheet").textContent = ".aft:after { content: counter(chicken); }"; |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | </script> |
michael@0 | 21 | |
michael@0 | 22 | </head> |
michael@0 | 23 | |
michael@0 | 24 | <body onload="boom()"> |
michael@0 | 25 | |
michael@0 | 26 | <div class="fl">Foo <span class="aft">Bar</span></div> |
michael@0 | 27 | |
michael@0 | 28 | <p class="aft">Baz</p> |
michael@0 | 29 | |
michael@0 | 30 | </body> |
michael@0 | 31 | </html> |