# HG changeset patch # Parent 9fb2caa0c9baf74d824e31c68b469eacbf33a707 # User Mats Palmgren Bug 312156 - Implement CSS3 text-overflow. r=roc diff --git a/layout/generic/crashtests/crashtests.list b/layout/generic/crashtests/crashtests.list --- a/layout/generic/crashtests/crashtests.list +++ b/layout/generic/crashtests/crashtests.list @@ -355,8 +355,10 @@ load 605340.html load 621841-1.html load 645072-1.html load 645072-2.html load 646561-1.html load 646983-1.html load 647332-1.html load 650499-1.html load 660416.html +load text-overflow-form-elements.html +load text-overflow-iframe.html diff --git a/layout/generic/crashtests/text-overflow-form-elements.html b/layout/generic/crashtests/text-overflow-form-elements.html new file mode 100644 --- /dev/null +++ b/layout/generic/crashtests/text-overflow-form-elements.html @@ -0,0 +1,144 @@ + + + +text-overflow test case + + + +text-overflow:"" | | (Try "." or "" for example)
+ +LTR / LTR +
+CSS is awesome + + + + +
CSS is awesome
+
CSS is awesome
+CSS is awesome + +
CSS is awesomeCSS is awesome
+
CSS is awesomeCSS is awesome
+ + + + +

+ +RTL / LTR +
+CSS is awesome + + + + +
CSS is awesome
+
CSS is awesome
+CSS is awesome + +
CSS is awesomeCSS is awesome
+
CSS is awesomeCSS is awesome
+ + + + +

+ +LTR / RTL +
+CSS is awesome + + + + +
CSS is awesome
+
CSS is awesome
+CSS is awesome + +
CSS is awesomeCSS is awesome
+
CSS is awesomeCSS is awesome
+ + + + +

+ +RTL / RTL +
+CSS is awesome + + + + +
CSS is awesome
+
CSS is awesome
+CSS is awesome + +
CSS is awesomeCSS is awesome
+
CSS is awesomeCSS is awesome
+ + + + +

+ + + + diff --git a/layout/generic/crashtests/text-overflow-iframe.html b/layout/generic/crashtests/text-overflow-iframe.html new file mode 100644 --- /dev/null +++ b/layout/generic/crashtests/text-overflow-iframe.html @@ -0,0 +1,115 @@ + + + +text-overflow: Test 12 + + + +text-overflow:"" | | (Try "." or "" for example)
+ +LTR / LTR +
+CSS is awesome CSSoverflowing-inline-block is awesome
+CSS is awesome CSS is awesome
+C SS is awesome CSS is awesom e
+C­SS is awesome CSS is awesom­e
+

+ +RTL / LTR +
+CSS is awesome CSSoverflowing-inline-block is awesome
+CSS is awesome CSS is awesome
+C SS is awesome CSS is awesom e
+C­SS is awesome CSS is awesom­e
+

+ + +LTR / RTL +
+CSS is awesome CSSoverflowing-inline-block is awesome
+CSS is awesome CSS is awesome
+C SS is awesome CSS is awesom e
+C­SS is awesome CSS is awesom­e
+

+ +RTL / RTL +
+CSS is awesome CSSoverflowing-inline-block is awesome
+CSS is awesome CSS is awesome
+C SS is awesome CSS is awesom e
+C­SS is awesome CSS is awesom­e
+

+ + diff --git a/layout/reftests/reftest.list b/layout/reftests/reftest.list --- a/layout/reftests/reftest.list +++ b/layout/reftests/reftest.list @@ -84,16 +84,19 @@ include css-optional/reftest.list skip-if(Android) include css-valid/reftest.list # css invalid skip-if(Android) include css-invalid/reftest.list # css-submit-invalid include css-submit-invalid/reftest.list +# css text-overflow +include text-overflow/reftest.list + # css transitions include css-transitions/reftest.list # css :-moz-ui-invalid skip-if(Android) include css-ui-invalid/reftest.list # css :-moz-ui-valid skip-if(Android) include css-ui-valid/reftest.list diff --git a/layout/reftests/text-overflow/TestEllipsisFallback.woff b/layout/reftests/text-overflow/TestEllipsisFallback.woff new file mode 100644 index 0000000000000000000000000000000000000000..4de40fbbb2287c1835ca723703543abf9c681106 GIT binary patch literal 1224 zc$_QucXRU(3GruOU^&6S#Q+3sUlQ-ER*fMP)P z3}!!cMEo*K$yFmK`1w|0%#ty1IWQ(%o4zm zmzbLh6!QR@p9VB{?!gDGCkyh6OMrgc08}Fe#0vl07>q0Cxc2Y&KI|ZKbpL&|+=a(N zj@~#JoF5Rtxpvpe#oHbzcpN>s^3oS}la*WAj~zrNx~kDeAdG)c5HZcIMx6Uc6WNIaB4s zELDbLmV3`Q*9hH-W5|uNYBY+GE1kntyz0xVY4gG&rq2tF%G>+6Vq5OzxXGp&E8lJm z+8tc}BCf7I&rD*sorXx3;acC!ebJ|@`ELJ`{<2?3%t`EbV zG?oiZo>NkJMV9x<&lNJeZ2ok%J)AD3=DVm~r)c$ek?R#*(vp%#%y?d&_qadfFYAMe zHKw3s08SkzJM#@e^eMT=6Cw1onH6)A6B2ix_|e)pwXtz!cP2kGvon87TFrrk6DL?i zQWGAhG%&icsR&GXHtSG9gJYv&Q{=<_tj;2@LsLv0<}nEvF){S5=ZRqenUj!^){r2{ z=Ef%Qf$@{X!5T3(W`(niEj|uWjgI|_kN(%Qy#9aqfB3)kZLgS^-OSih^uijn&bv66 zG8qW3ElOZy*yq6A1#}n4tdxWVhDVPTFF!l}`F2g}gS0wEkwgpC?{7rrh$ST?+&o?- zdg5t90#hdwL#!P41-PEQrw$wtI9ep=VYJ~5P{4uJhrzv$2`JBU5rP?CG6*p+1OPc8 zJ*^YYdL4EUX+3{KUejZu-NBp|uH0EE7hSitDmg8X-d!+#lBcxCnn>fs-@BDuH;gfsTj2Dh-v+$kgou|WH@*(vnPi|q}&PMIR{GFYB z72EC{T3WIB&a!`=%QMP;e9PFkDsn+P|LOD{2ev%>U1?zluUj|>Pu_%cAU6OH(jnS>= zNY&)U*B?%4u~g5FVV)f18g;a2yUIUwKg~JjZdEntg^Vf>0kNuhUfXG zo8Kk&EVQ)S8)y6K`>aNrKDFw{4=Y~mo>!iA(sJvhdJWTR&u{B?TQ9q2ow)9lmTu9@ pUGpCAT4!_d1A9nT@dQZRq%k!AKg;9h&^3{fmw`belyN5m0{}{S>L~yK diff --git a/layout/reftests/text-overflow/anonymous-block-ref.html b/layout/reftests/text-overflow/anonymous-block-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/anonymous-block-ref.html @@ -0,0 +1,59 @@ + + + +text-overflow: anonymous block + + + + + +
Some oveanonymous
block
and
unin
+
Soanonymous
block
an
+
             
+
Some overly l   anonymous
block
and
uninformative sentence
+
Some overly longanonymous
block
a  
uninformative sentence
+ + + diff --git a/layout/reftests/text-overflow/anonymous-block.html b/layout/reftests/text-overflow/anonymous-block.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/anonymous-block.html @@ -0,0 +1,61 @@ + + + +text-overflow: anonymous block + + + + + +
Some overly longanonymous
block
and
uninformative sentence
+
Some overly longanonymous
block
and uninformative sentence
+
Some overly longanonymous
block
and
uninformative sentence
+
Some overly longanonymous
block
and
uninformative sentence
+ + + diff --git a/layout/reftests/text-overflow/bidi-simple-ref.html b/layout/reftests/text-overflow/bidi-simple-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/bidi-simple-ref.html @@ -0,0 +1,85 @@ + + + +text-overflow: simple mixed-bidi cases + + + + + + +
AxxxxB  HelloWorAxxxxHelloWorldAxxxxBHelloWorldAxxxxBHelloWorld
+ +
He  oWorldAxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloWorld
+ +
He  oWorld
+ + + + + + + + + + +
AxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloW  ld
+ +
HelloWorldAxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloW  ld
+ +
HelloW  ld
+ + + + + + + + + + + + + diff --git a/layout/reftests/text-overflow/bidi-simple-scrolled-ref.html b/layout/reftests/text-overflow/bidi-simple-scrolled-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/bidi-simple-scrolled-ref.html @@ -0,0 +1,106 @@ + + + +text-overflow: simple mixed-bidi cases + + + + + + + +
  xxB …             xxxxHelloWorldAxxxxBHelloWorldAxxxxBHelloWorld
+ +
     Wor       BHelloWorldAxxxxBHelloWorldAxxxxBHelloWorld
+ +
     Wor  
+ + +
AxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloWorldAxxxxB  llo     
+ +
HelloWorldAxxxxBHelloWorldAxxxxBHelloWorldAxxxxB  llo     
+ +
  llo     
+ + + + + + + + + + + + + + + + +


  lloW    HelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorld
+
+ + diff --git a/layout/reftests/text-overflow/bidi-simple-scrolled.html b/layout/reftests/text-overflow/bidi-simple-scrolled.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/bidi-simple-scrolled.html @@ -0,0 +1,98 @@ + + + +text-overflow: simple mixed-bidi cases, scrolled a bit from the start position + + + + + + + +
AxxxB HelloWorldAxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloWorld
+ +
Hell WorldAxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloWorld
+ +
Hell World
+ + + +
AxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHello orld
+ +
HelloWorldAxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHello orld
+ +
Hello orld
+ + + + + + + + + + + + + + + + + + +


HelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorldHelloWorld
+
+ + diff --git a/layout/reftests/text-overflow/bidi-simple.html b/layout/reftests/text-overflow/bidi-simple.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/bidi-simple.html @@ -0,0 +1,81 @@ + + + +text-overflow: simple mixed-bidi cases + + + + + + +
AxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloWorld
+ +
HelloWorldAxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloWorld
+ +
HelloWorld
+ + + + + + + + + + +
AxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloWorld
+ +
HelloWorldAxxxxBHelloWorldAxxxxBHelloWorldAxxxxBHelloWorld
+ +
HelloWorld
+ + + + + + + + + + + + + diff --git a/layout/reftests/text-overflow/block-padding-ref.html b/layout/reftests/text-overflow/block-padding-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/block-padding-ref.html @@ -0,0 +1,83 @@ + + + + + +text-overflow: text-overflow block padding + + + + +
                   
+
| | | | | | | | | |…        
+ +
| | | | | | | | | |       
+ + +
                   
| | | | | | | | | |
+ +
| | | | | | | | | | | | | 
+ + +
                   
+
 | | | | | | | | | 
+ +
| | | | | | | | | | | | | 
+ + +
                   
| | | | | | | | | |
… 
+ +
| | | | | | | | | | | | | 
+ + diff --git a/layout/reftests/text-overflow/block-padding.html b/layout/reftests/text-overflow/block-padding.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/block-padding.html @@ -0,0 +1,71 @@ + + + + + +text-overflow: text-overflow block padding + + + + + +
| | | | | | | | | | | | | 
+
| | | | | | | | | | | | | 
+ + +
| | | | | | | | | | | | | 
+
| | | | | | | | | | | | | 
+ + +
| | | | | | | | | | | | | 
+
| | | | | | | | | | | | | 
+ + +
| | | | | | | | | | | | | 
+
| | | | | | | | | | | | | 
+ + diff --git a/layout/reftests/text-overflow/ellipsis-font-fallback-ref.html b/layout/reftests/text-overflow/ellipsis-font-fallback-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/ellipsis-font-fallback-ref.html @@ -0,0 +1,149 @@ + + + + text-overflow: ellipsis fallback + + + +
+ + +
 ...X...     
+
     ...X... 
+
     ...X... 
+
 ...X...     
+ + +
XXXXX... 
+
 ...XXXXX
+
 ...XXXXX
+
XXXXX... 
+ + +
 X...
+
...
+
...
+
 X...
+ + +
...
+
...
+
...
+
...
+ + +
... 
+
 ...
+
 ...
+
... 
+ +
+ + + diff --git a/layout/reftests/text-overflow/ellipsis-font-fallback.html b/layout/reftests/text-overflow/ellipsis-font-fallback.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/ellipsis-font-fallback.html @@ -0,0 +1,150 @@ + + + + text-overflow: ellipsis fallback + + + +
+ + +
XXXXXXXXXXXX
+
XXXXXXXXXXXX
+
XXXXXXXXXXXX
+
XXXXXXXXXXXX
+ + +
XXXXXXXXXXXX
+
XXXXXXXXXXXX
+
XXXXXXXXXXXX
+
XXXXXXXXXXXX
+ + +
XXXXXX
+
XXXXXX
+
XXXXXX
+
XXXXXX
+ + +
XXXXXXXXXXXX
+
XXXXXXXXXXXX
+
XXXXXXXXXXXX
+
XXXXXXXXXXXX
+ + +
XXX
+
XXX
+
XXX
+
XXX
+ + +
+ + + diff --git a/layout/reftests/text-overflow/false-marker-overlap-ref.html b/layout/reftests/text-overflow/false-marker-overlap-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/false-marker-overlap-ref.html @@ -0,0 +1,71 @@ + + + +text-overflow: form control elements + + + + +
 | | | | | | | | | | | | | | | | | | | | | |
+
| | | | | | | | | | | | | | | | | | | | | | |
+
 | | | | | | | | | | | | | | | | | | | | | |
+
| | | | | | | | | | | | | | | | | | | | | | |
+ + + diff --git a/layout/reftests/text-overflow/false-marker-overlap.html b/layout/reftests/text-overflow/false-marker-overlap.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/false-marker-overlap.html @@ -0,0 +1,72 @@ + + + +text-overflow: false marker overlap + + + + +
| | | | | | | | | | | | | | | | | | | | | | |
+
| | | | | | | | | | | | | | | | | | | | | | |
+
| | | | | | | | | | | | | | | | | | | | | | |
+
| | | | | | | | | | | | | | | | | | | | | | |
+ + + diff --git a/layout/reftests/text-overflow/marker-basic-ref.html b/layout/reftests/text-overflow/marker-basic-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/marker-basic-ref.html @@ -0,0 +1,305 @@ + + + + text-overflow: basic marker position tests + + + +
+ +
+
+
   ||||
+
   
+
+
+
+
+
   ||||
+
   
+
+
+
+
+
   ||||
+
   
+
+
+
+
+
   ||||
+
   
+
+
+ +
+
+
 
+
+
+
+
+
 
+
+
+
+
+
   
+
+
+
+
+
   
+
+
+ +
+
+
 
+
+
+
+
+
 
+
+
+
+
+
   
+
+
+
+
+
   
+
+
+ +
+
+
 
+
+
+
+
+
 
+
+
+
+
+
   
+
+
+
+
+
   
+
+
+ +
+
+
 
+
 
+
+
+
+
+
 
+
 
+
+
+
+
+
 
+
 
+
+
+
+
+
 
+
 
+
+
+ +
+
+
   
+
   
+
+
+
+
+
   
+
   
+
+
+
+
+
   
+
   
+
+
+
+
+
   
+
   
+
+
+ +
+
|
+
+ +
 
+ +
+
|
+
+ +
 
+ + +
+
+ +
    
+
    
+
    
+
    
+ + +
+ + diff --git a/layout/reftests/text-overflow/marker-basic.html b/layout/reftests/text-overflow/marker-basic.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/marker-basic.html @@ -0,0 +1,197 @@ + + + + text-overflow: basic marker position tests + + + +
+ + +
||||||||||
+
||||||||||
+
||||||||||
+
||||||||||
+ + +
x
+
x
+
x
+
x
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
|||
+
|||
+
|||
+
|||
+ + +
|
+
|
+ +
|
+
|
+ + +
|
+
|
+ + +
    |||
+
    |||
+
    |||
+
    |||
+ +
+ + + diff --git a/layout/reftests/text-overflow/marker-string-ref.html b/layout/reftests/text-overflow/marker-string-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/marker-string-ref.html @@ -0,0 +1,66 @@ + + + +text-overflow: text-overflow:<string> + + + + + +
 x
+
 x
+
Hello World
+
Hello World
+ +
Hel
+
Hel
+
XX
+
XX
+ + + diff --git a/layout/reftests/text-overflow/marker-string.html b/layout/reftests/text-overflow/marker-string.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/marker-string.html @@ -0,0 +1,73 @@ + + + +text-overflow: text-overflow:<string> + + + + + + +
xx
+
xx
+ +
xx
+
xx
+ + +
xx
+
xx
+ + +
+
+ + + + diff --git a/layout/reftests/text-overflow/quirks-decorations-ref.html b/layout/reftests/text-overflow/quirks-decorations-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/quirks-decorations-ref.html @@ -0,0 +1,73 @@ + + +text-overflow: Quirks mode text-decorations + + + + +
0123 56789012
+
1 56789012345
+
 
+
 
+
 
+ + + + diff --git a/layout/reftests/text-overflow/quirks-decorations.html b/layout/reftests/text-overflow/quirks-decorations.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/quirks-decorations.html @@ -0,0 +1,74 @@ + + +text-overflow: Quirks mode text-decorations + + + + +
0123 567890123456789x
+
x0321 56789012345
+
xxxxx
+
xx
+
xx
+ + + + diff --git a/layout/reftests/text-overflow/quirks-line-height-ref.html b/layout/reftests/text-overflow/quirks-line-height-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/quirks-line-height-ref.html @@ -0,0 +1,57 @@ + + +text-overflow: Quirks mode line height + + + + +
0123456|
+
0123456|
+ + + + diff --git a/layout/reftests/text-overflow/quirks-line-height.html b/layout/reftests/text-overflow/quirks-line-height.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/quirks-line-height.html @@ -0,0 +1,56 @@ + + +text-overflow: Quirks mode line height + + + + +
0123456|890123456789
+
0123456|89012345
+ + + + diff --git a/layout/reftests/text-overflow/reftest.list b/layout/reftests/text-overflow/reftest.list new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/reftest.list @@ -0,0 +1,14 @@ +== ellipsis-font-fallback.html ellipsis-font-fallback-ref.html +HTTP(..) == marker-basic.html marker-basic-ref.html +HTTP(..) == marker-string.html marker-string-ref.html +skip-if(Android) HTTP(..) == bidi-simple.html bidi-simple-ref.html # Fails on Android due to anti-aliasing +skip-if(!gtk2Widget) HTTP(..) == bidi-simple-scrolled.html bidi-simple-scrolled-ref.html # Fails on Windows and OSX due to anti-aliasing +HTTP(..) == scroll-rounding.html scroll-rounding-ref.html +HTTP(..) == anonymous-block.html anonymous-block-ref.html +HTTP(..) == false-marker-overlap.html false-marker-overlap-ref.html +HTTP(..) == visibility-hidden.html visibility-hidden-ref.html +HTTP(..) == block-padding.html block-padding-ref.html +HTTP(..) == quirks-decorations.html quirks-decorations-ref.html +HTTP(..) == quirks-line-height.html quirks-line-height-ref.html +HTTP(..) == standards-decorations.html standards-decorations-ref.html +HTTP(..) == standards-line-height.html standards-line-height-ref.html diff --git a/layout/reftests/text-overflow/scroll-rounding-ref.html b/layout/reftests/text-overflow/scroll-rounding-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/scroll-rounding-ref.html @@ -0,0 +1,92 @@ + + + +text-overflow: scroll rounding + + + + + + + + + + + + + + + + + +
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+ + diff --git a/layout/reftests/text-overflow/scroll-rounding.html b/layout/reftests/text-overflow/scroll-rounding.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/scroll-rounding.html @@ -0,0 +1,93 @@ + + + +text-overflow: scroll rounding + + + + + + + + + + + + + + + + + +
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+
HelloKittyוסוכנויות
+ + diff --git a/layout/reftests/text-overflow/standards-decorations-ref.html b/layout/reftests/text-overflow/standards-decorations-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/standards-decorations-ref.html @@ -0,0 +1,72 @@ + + + +text-overflow: Standards mode text-decorations + + + + +
0123 56789012
+
1 56789012345
+
 
+
 
+
 
+ + + + diff --git a/layout/reftests/text-overflow/standards-decorations.html b/layout/reftests/text-overflow/standards-decorations.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/standards-decorations.html @@ -0,0 +1,73 @@ + + + +text-overflow: Standards mode text-decorations + + + + +
0123 567890123456789
+
0321 56789012345
+
xxxx
+
x
+
x
+ + + + diff --git a/layout/reftests/text-overflow/standards-line-height-ref.html b/layout/reftests/text-overflow/standards-line-height-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/standards-line-height-ref.html @@ -0,0 +1,58 @@ + + + +text-overflow: Standards mode line height + + + + +
0123456|
+
0123456|
+ + + + diff --git a/layout/reftests/text-overflow/standards-line-height.html b/layout/reftests/text-overflow/standards-line-height.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/standards-line-height.html @@ -0,0 +1,57 @@ + + + +text-overflow: Standards mode line height + + + + +
0123456|890123456789
+
0123456|89012345
+ + + + diff --git a/layout/reftests/text-overflow/visibility-hidden-ref.html b/layout/reftests/text-overflow/visibility-hidden-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/visibility-hidden-ref.html @@ -0,0 +1,72 @@ + + + +text-overflow: visibility:hidden + + + + +
+CSS is awesome
+CSS is awesome x  +
+
CSS is awesome
+
CSS is awesome x 
+
CSS is awesome x
+
CSS is awesome 
+ +
+
+CSS is awesome
+CSS is awesome x +
+
CSS is awesome
+
CSS is awesome x 
+
CSS is awesome x
+
CSS is awesome 
+
+ + diff --git a/layout/reftests/text-overflow/visibility-hidden.html b/layout/reftests/text-overflow/visibility-hidden.html new file mode 100644 --- /dev/null +++ b/layout/reftests/text-overflow/visibility-hidden.html @@ -0,0 +1,74 @@ + + + +text-overflow: visibility:hidden + + + + +
+CSS is awesome
+CSS is awesome x    +
+
CSS is awesome
+
CSS is awesome x   
+
CSS is awesome x
+
CSS is awesome x
+ +
+
+CSS is awesome
+CSS is awesome x +
+
CSS is awesome
+
CSS is awesome x   
+
CSS is awesome x
+
CSS is awesome x
+
+ +