OLD | NEW |
1 layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 887 | 1 layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 887 |
2 LayoutView at (0,0) size 800x600 | 2 LayoutView at (0,0) size 800x600 |
3 layer at (0,0) size 785x887 backgroundClip at (0,0) size 785x600 clip at (0,0) s
ize 785x600 | 3 layer at (0,0) size 785x887 backgroundClip at (0,0) size 785x600 clip at (0,0) s
ize 785x600 |
4 LayoutBlockFlow {HTML} at (0,0) size 785x886.56 | 4 LayoutBlockFlow {HTML} at (0,0) size 785x886.56 |
5 LayoutBlockFlow {BODY} at (8,21.44) size 769x840.13 | 5 LayoutBlockFlow {BODY} at (8,21.44) size 769x840.13 |
6 LayoutBlockFlow {H1} at (0,0) size 769x74 | 6 LayoutBlockFlow {H1} at (0,0) size 769x74 |
7 LayoutText {#text} at (0,0) size 747x74 | 7 LayoutText {#text} at (0,0) size 747x74 |
8 text run at (0,0) width 747: "Problem: Safari improperly handles gener
ated content" | 8 text run at (0,0) width 747: "Problem: Safari improperly handles gener
ated content" |
9 text run at (0,37) width 717: "in certain cases when used with multipl
e class names" | 9 text run at (0,37) width 717: "in certain cases when used with multipl
e class names" |
10 LayoutBlockFlow {P} at (0,95.44) size 769x36 | 10 LayoutBlockFlow {P} at (0,95.44) size 769x36 |
11 LayoutInline {EM} at (0,0) size 768x36 | 11 LayoutInline {EM} at (0,0) size 767x36 |
12 LayoutText {#text} at (0,0) size 768x36 | 12 LayoutText {#text} at (0,0) size 767x36 |
13 text run at (0,0) width 768: "When referencing an element by two cla
ss names simultaneously, Safari won't generate content (using :before or :after)
" | 13 text run at (0,0) width 767: "When referencing an element by two cla
ss names simultaneously, Safari won't generate content (using :before or :after)
" |
14 text run at (0,18) width 122: "within the element." | 14 text run at (0,18) width 122: "within the element." |
15 LayoutBlockFlow {P} at (0,147.44) size 769x36 | 15 LayoutBlockFlow {P} at (0,147.44) size 769x36 |
16 LayoutText {#text} at (0,0) size 124x18 | 16 LayoutText {#text} at (0,0) size 124x18 |
17 text run at (0,0) width 124: "Assume we have a " | 17 text run at (0,0) width 124: "Assume we have a " |
18 LayoutInline {CODE} at (0,0) size 24x15 | 18 LayoutInline {CODE} at (0,0) size 24x15 |
19 LayoutText {#text} at (123,2) size 24x15 | 19 LayoutText {#text} at (123,2) size 24x15 |
20 text run at (123,2) width 24: "div" | 20 text run at (123,2) width 24: "div" |
21 LayoutText {#text} at (146,0) size 150x18 | 21 LayoutText {#text} at (146,0) size 150x18 |
22 text run at (146,0) width 150: " with two class names: " | 22 text run at (146,0) width 150: " with two class names: " |
23 LayoutInline {CODE} at (0,0) size 25x15 | 23 LayoutInline {CODE} at (0,0) size 25x15 |
(...skipping 15 matching lines...) Expand all Loading... |
39 LayoutText {#text} at (556,2) size 9x15 | 39 LayoutText {#text} at (556,2) size 9x15 |
40 text run at (556,2) width 9: "p" | 40 text run at (556,2) width 9: "p" |
41 LayoutText {#text} at (564,0) size 748x36 | 41 LayoutText {#text} at (564,0) size 748x36 |
42 text run at (564,0) width 184: " (paragraph) tag, after which" | 42 text run at (564,0) width 184: " (paragraph) tag, after which" |
43 text run at (0,18) width 509: "we'd like to insert generated content.
One way to do so would be the following:" | 43 text run at (0,18) width 509: "we'd like to insert generated content.
One way to do so would be the following:" |
44 LayoutBlockFlow {PRE} at (20,199.44) size 749x15 [color=#FF0000] | 44 LayoutBlockFlow {PRE} at (20,199.44) size 749x15 [color=#FF0000] |
45 LayoutInline {CODE} at (0,0) size 445x15 | 45 LayoutInline {CODE} at (0,0) size 445x15 |
46 LayoutText {#text} at (0,0) size 445x15 | 46 LayoutText {#text} at (0,0) size 445x15 |
47 text run at (0,0) width 445: "div.box.one p:after{ content:'generate
d content here!'; }" | 47 text run at (0,0) width 445: "div.box.one p:after{ content:'generate
d content here!'; }" |
48 LayoutBlockFlow {P} at (0,230.44) size 769x18 | 48 LayoutBlockFlow {P} at (0,230.44) size 769x18 |
49 LayoutText {#text} at (0,0) size 742x18 | 49 LayoutText {#text} at (0,0) size 741x18 |
50 text run at (0,0) width 742: "But that doesn't work in Safari. However
, if you drop one of the class names, as shown below, it works as expected:" | 50 text run at (0,0) width 741: "But that doesn't work in Safari. However
, if you drop one of the class names, as shown below, it works as expected:" |
51 LayoutBlockFlow {PRE} at (20,264.44) size 749x15 [color=#008000] | 51 LayoutBlockFlow {PRE} at (20,264.44) size 749x15 [color=#008000] |
52 LayoutInline {CODE} at (0,0) size 414x15 | 52 LayoutInline {CODE} at (0,0) size 414x15 |
53 LayoutText {#text} at (0,0) size 414x15 | 53 LayoutText {#text} at (0,0) size 414x15 |
54 text run at (0,0) width 414: "div.box p:after{ content:'generated co
ntent here!'; }" | 54 text run at (0,0) width 414: "div.box p:after{ content:'generated co
ntent here!'; }" |
55 LayoutBlockFlow {P} at (0,295.44) size 769x36 | 55 LayoutBlockFlow {P} at (0,295.44) size 769x36 |
56 LayoutText {#text} at (0,0) size 294x18 | 56 LayoutText {#text} at (0,0) size 294x18 |
57 text run at (0,0) width 294: "Note also that the bug only applies to c
ontent " | 57 text run at (0,0) width 294: "Note also that the bug only applies to c
ontent " |
58 LayoutInline {EM} at (0,0) size 41x18 | 58 LayoutInline {EM} at (0,0) size 41x18 |
59 LayoutText {#text} at (293,0) size 41x18 | 59 LayoutText {#text} at (293,0) size 41x18 |
60 text run at (293,0) width 41: "within" | 60 text run at (293,0) width 41: "within" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 LayoutBlockFlow {H3} at (26,44.72) size 717x22 | 97 LayoutBlockFlow {H3} at (26,44.72) size 717x22 |
98 LayoutText {#text} at (0,0) size 46x22 | 98 LayoutText {#text} at (0,0) size 46x22 |
99 text run at (0,0) width 46: "Box 2" | 99 text run at (0,0) width 46: "Box 2" |
100 LayoutBlockFlow {P} at (26,85.44) size 717x36 | 100 LayoutBlockFlow {P} at (26,85.44) size 717x36 |
101 LayoutBlockFlow (anonymous) at (0,0) size 717x18 | 101 LayoutBlockFlow (anonymous) at (0,0) size 717x18 |
102 LayoutText {#text} at (0,0) size 639x18 | 102 LayoutText {#text} at (0,0) size 639x18 |
103 text run at (0,0) width 639: "This box should contain the text \"g
enerated content\" in CSS2-compliant browsers, including Safari." | 103 text run at (0,0) width 639: "This box should contain the text \"g
enerated content\" in CSS2-compliant browsers, including Safari." |
104 LayoutBlockFlow {<pseudo:after>} at (0,18) size 717x18 [color=#008000] | 104 LayoutBlockFlow {<pseudo:after>} at (0,18) size 717x18 [color=#008000] |
105 LayoutTextFragment (anonymous) at (0,0) size 114x18 | 105 LayoutTextFragment (anonymous) at (0,0) size 114x18 |
106 text run at (0,0) width 114: "generated content" | 106 text run at (0,0) width 114: "generated content" |
OLD | NEW |