Changeset 46969 in webkit


Ignore:
Timestamp:
Aug 9, 2009 5:47:32 PM (15 years ago)
Author:
Nikolas Zimmermann
Message:

2009-08-09 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>

Reviewed by George Staikos.

[WML] wml.css lacks <pre> support
https://bugs.webkit.org/show_bug.cgi?id=28135

Add <pre> support for WML.
Extended fast/wml/text-emphasis.wml to cover <pre> support.

  • css/wml.css: <pre> section copied from html.css

2009-08-09 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>

Reviewed by George Staikos.

[WML] wml.css lacks <pre> support
https://bugs.webkit.org/show_bug.cgi?id=28135

Extend fast/wml/text-emphasis.wml test, to cover <pre> formatting.

  • fast/wml/text-emphasis.wml:
  • platform/mac/fast/wml/text-emphasis-expected.txt:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r46967 r46969  
     12009-08-09  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
     2
     3        Reviewed by George Staikos.
     4
     5        [WML] wml.css lacks <pre> support
     6        https://bugs.webkit.org/show_bug.cgi?id=28135
     7
     8        Extend fast/wml/text-emphasis.wml test, to cover <pre> formatting.
     9
     10        * fast/wml/text-emphasis.wml:
     11        * platform/mac/fast/wml/text-emphasis-expected.txt:
     12
    1132009-08-09  Oliver Hunt  <oliver@apple.com>
    214
  • trunk/LayoutTests/fast/wml/text-emphasis.wml

    r38541 r46969  
    1414   <small>small</small>
    1515  </p>
     16  <pre>  This text, should appear
     17as
     18pre
     19formatted
     20           text, preserving any white    space.</pre>
    1621 </card>
    1722</wml>
  • trunk/LayoutTests/platform/mac/fast/wml/text-emphasis-expected.txt

    r38577 r46969  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x214
    4   RenderBlock {wml} at (0,0) size 800x214
    5     RenderBlock {card} at (8,16) size 784x182
     3layer at (0,0) size 800x302
     4  RenderBlock {wml} at (0,0) size 800x302
     5    RenderBlock {card} at (8,16) size 784x273
    66      RenderBlock {p} at (0,0) size 784x18
    77        RenderText {#text} at (0,0) size 198x18
     
    3939            text run at (0,132) width 29: "small"
    4040        RenderText {#text} at (0,0) size 0x0
     41      RenderBlock {pre} at (0,198) size 784x75
     42        RenderText {#text} at (0,0) size 376x75
     43          text run at (0,0) width 208: "  This text, should appear"
     44          text run at (208,0) width 0: " "
     45          text run at (0,15) width 16: "as"
     46          text run at (16,15) width 0: " "
     47          text run at (0,30) width 24: "pre"
     48          text run at (24,30) width 0: " "
     49          text run at (0,45) width 72: "formatted"
     50          text run at (72,45) width 0: " "
     51          text run at (0,60) width 376: "           text, preserving any white    space."
  • trunk/WebCore/ChangeLog

    r46968 r46969  
     12009-08-09  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
     2
     3        Reviewed by George Staikos.
     4
     5        [WML] wml.css lacks <pre> support
     6        https://bugs.webkit.org/show_bug.cgi?id=28135
     7
     8        Add <pre> support for WML.
     9        Extended fast/wml/text-emphasis.wml to cover <pre> support.
     10
     11        * css/wml.css: <pre> section copied from html.css
     12
    1132009-08-09  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
    214
  • trunk/WebCore/css/wml.css

    r39436 r46969  
    224224}
    225225
     226pre {
     227    display: block;
     228    font-family: monospace;
     229    white-space: pre;
     230    margin: 1__qem 0
     231}
     232
    226233/* states */
    227234
Note: See TracChangeset for help on using the changeset viewer.