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 748x74 | 7 LayoutText {#text} at (0,0) size 747x74 |
8 text run at (0,0) width 748: "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 725x36 | 11 LayoutInline {EM} at (0,0) size 767x36 |
12 LayoutText {#text} at (0,0) size 725x36 | 12 LayoutText {#text} at (0,0) size 767x36 |
13 text run at (0,0) width 725: "When referencing an element by two cla
ss names simultaneously, Safari won't generate content (using :before or" | 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 167: ":after) 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 |
24 LayoutText {#text} at (295,2) size 25x15 | 24 LayoutText {#text} at (295,2) size 25x15 |
25 text run at (295,2) width 25: "box" | 25 text run at (295,2) width 25: "box" |
26 LayoutText {#text} at (319,0) size 32x18 | 26 LayoutText {#text} at (319,0) size 32x18 |
27 text run at (319,0) width 32: " and " | 27 text run at (319,0) width 32: " and " |
28 LayoutInline {CODE} at (0,0) size 24x15 | 28 LayoutInline {CODE} at (0,0) size 24x15 |
29 LayoutText {#text} at (350,2) size 24x15 | 29 LayoutText {#text} at (350,2) size 24x15 |
30 text run at (350,2) width 24: "one" | 30 text run at (350,2) width 24: "one" |
31 LayoutText {#text} at (373,0) size 86x18 | 31 LayoutText {#text} at (373,0) size 85x18 |
32 text run at (373,0) width 86: ". Within that " | 32 text run at (373,0) width 85: ". Within that " |
33 LayoutInline {CODE} at (0,0) size 24x15 | 33 LayoutInline {CODE} at (0,0) size 24x15 |
34 LayoutText {#text} at (458,2) size 24x15 | 34 LayoutText {#text} at (457,2) size 24x15 |
35 text run at (458,2) width 24: "div" | 35 text run at (457,2) width 24: "div" |
36 LayoutText {#text} at (481,0) size 77x18 | 36 LayoutText {#text} at (480,0) size 77x18 |
37 text run at (481,0) width 77: ", we have a " | 37 text run at (480,0) width 77: ", we have a " |
38 LayoutInline {CODE} at (0,0) size 9x15 | 38 LayoutInline {CODE} at (0,0) size 9x15 |
39 LayoutText {#text} at (557,2) size 9x15 | 39 LayoutText {#text} at (556,2) size 9x15 |
40 text run at (557,2) width 9: "p" | 40 text run at (556,2) width 9: "p" |
41 LayoutText {#text} at (565,0) size 748x36 | 41 LayoutText {#text} at (564,0) size 748x36 |
42 text run at (565,0) width 183: " (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" |
61 LayoutText {#text} at (333,0) size 276x18 | 61 LayoutText {#text} at (333,0) size 276x18 |
62 text run at (333,0) width 276: " the classed element \x{2014} generati
ng content " | 62 text run at (333,0) width 276: " the classed element \x{2014} generati
ng content " |
63 LayoutInline {EM} at (0,0) size 726x36 | 63 LayoutInline {EM} at (0,0) size 725x36 |
64 LayoutText {#text} at (608,0) size 726x36 | 64 LayoutText {#text} at (608,0) size 725x36 |
65 text run at (608,0) width 118: "before or after the" | 65 text run at (608,0) width 117: "before or after the" |
66 text run at (0,18) width 85: "element itself" | 66 text run at (0,18) width 85: "element itself" |
67 LayoutText {#text} at (84,18) size 78x18 | 67 LayoutText {#text} at (84,18) size 77x18 |
68 text run at (84,18) width 78: " works fine:" | 68 text run at (84,18) width 77: " works fine:" |
69 LayoutBlockFlow {PRE} at (20,347.44) size 749x15 [color=#008000] | 69 LayoutBlockFlow {PRE} at (20,347.44) size 749x15 [color=#008000] |
70 LayoutInline {CODE} at (0,0) size 430x15 | 70 LayoutInline {CODE} at (0,0) size 430x15 |
71 LayoutText {#text} at (0,0) size 430x15 | 71 LayoutText {#text} at (0,0) size 430x15 |
72 text run at (0,0) width 430: "div.box.one:after{ content:'generated
content here!'; }" | 72 text run at (0,0) width 430: "div.box.one:after{ content:'generated
content here!'; }" |
73 LayoutBlockFlow {HR} at (0,375.44) size 769x2 [border: (1px inset #EEEEEE)
] | 73 LayoutBlockFlow {HR} at (0,375.44) size 769x2 [border: (1px inset #EEEEEE)
] |
74 LayoutBlockFlow {H2} at (0,397.34) size 769x28 | 74 LayoutBlockFlow {H2} at (0,397.34) size 769x28 |
75 LayoutText {#text} at (0,0) size 477x28 | 75 LayoutText {#text} at (0,0) size 477x28 |
76 text run at (0,0) width 477: "Example (view source to see CSS and HTML
):" | 76 text run at (0,0) width 477: "Example (view source to see CSS and HTML
):" |
77 LayoutBlockFlow {P} at (0,445.25) size 769x18 | 77 LayoutBlockFlow {P} at (0,445.25) size 769x18 |
78 LayoutText {#text} at (0,0) size 340x18 | 78 LayoutText {#text} at (0,0) size 340x18 |
(...skipping 18 matching lines...) Expand all 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 |