Changeset 63957 in webkit


Ignore:
Timestamp:
Jul 23, 2010 1:37:15 AM (14 years ago)
Author:
hamaji@chromium.org
Message:

2010-07-23 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by Kent Tamura.

Backslash isn't transcoded in <input>
https://bugs.webkit.org/show_bug.cgi?id=42878

  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty):

2010-07-23 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by Kent Tamura.

Backslash isn't transcoded in <input>
https://bugs.webkit.org/show_bug.cgi?id=42878

  • editing/selection/find-yensign-and-backslash-expected.txt:
  • platform/mac/fast/text/backslash-to-yen-sign-euc-expected.checksum:
  • platform/mac/fast/text/backslash-to-yen-sign-euc-expected.png:
  • platform/mac/fast/text/backslash-to-yen-sign-euc-expected.txt:
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r63955 r63957  
     12010-07-23  Shinichiro Hamaji  <hamaji@chromium.org>
     2
     3        Reviewed by Kent Tamura.
     4
     5        Backslash isn't transcoded in <input>
     6        https://bugs.webkit.org/show_bug.cgi?id=42878
     7
     8        * editing/selection/find-yensign-and-backslash-expected.txt:
     9        * platform/mac/fast/text/backslash-to-yen-sign-euc-expected.checksum:
     10        * platform/mac/fast/text/backslash-to-yen-sign-euc-expected.png:
     11        * platform/mac/fast/text/backslash-to-yen-sign-euc-expected.txt:
     12
    1132010-07-23  Shinichiro Hamaji  <hamaji@chromium.org>
    214
  • trunk/LayoutTests/editing/selection/find-yensign-and-backslash-expected.txt

    r63955 r63957  
    44
    55We can find a backslash in EUC-JP page by finding a yen sign: PASS
    6 We can find a backslash in EUC-JP text control by finding a yen sign: FAIL
     6We can find a backslash in EUC-JP text control by finding a yen sign: PASS
    77We can find a backslash in Shift_JIS_X0213-2000 page by finding a yen sign: PASS
    8 We can find a backslash in Shift_JIS_X0213-2000 text control by finding a yen sign: FAIL
     8We can find a backslash in Shift_JIS_X0213-2000 text control by finding a yen sign: PASS
    99We can NOT find a backslash in UTF8 page by finding a yen sign: PASS
    1010We can NOT find a backslash in UTF8 text control by finding a yen sign: PASS
  • trunk/LayoutTests/platform/mac/fast/text/backslash-to-yen-sign-euc-expected.checksum

    r63950 r63957  
    1 286a8869d5eb858feeefe72a4d4f5da7
     1a5e945bf841c506d5ffe6a9feb1cb63a
  • trunk/LayoutTests/platform/mac/fast/text/backslash-to-yen-sign-euc-expected.png

    • Property svn:mime-type set to application/octet-stream
  • trunk/LayoutTests/platform/mac/fast/text/backslash-to-yen-sign-euc-expected.txt

    r63950 r63957  
    262262            text run at (368,0) width 4: "\\"
    263263      RenderBlock {DIV} at (0,389) size 769x18
    264         RenderInline {SPAN} at (0,0) size 338x16
    265           RenderText {#text} at (0,1) size 324x16
    266             text run at (0,1) width 324: "Using font \"caption\". expected: backslash, actual: \\"
    267           RenderInline {SPAN} at (0,0) size 7x16
    268             RenderText {#text} at (324,1) size 7x16
    269               text run at (324,1) width 7: "\\"
    270           RenderInline {SPAN} at (0,0) size 7x16
    271             RenderText {#text} at (331,1) size 7x16
    272               text run at (331,1) width 7: "\\"
     264        RenderInline {SPAN} at (0,0) size 344x16
     265          RenderText {#text} at (0,1) size 326x16
     266            text run at (0,1) width 326: "Using font \"caption\". expected: backslash, actual: \x{A5}"
     267          RenderInline {SPAN} at (0,0) size 9x16
     268            RenderText {#text} at (326,1) size 9x16
     269              text run at (326,1) width 9: "\x{A5}"
     270          RenderInline {SPAN} at (0,0) size 9x16
     271            RenderText {#text} at (335,1) size 9x16
     272              text run at (335,1) width 9: "\x{A5}"
    273273      RenderBlock {DIV} at (0,407) size 769x18
    274         RenderInline {SPAN} at (0,0) size 318x16
    275           RenderText {#text} at (0,1) size 304x16
    276             text run at (0,1) width 304: "Using font \"icon\". expected: backslash, actual: \\"
    277           RenderInline {SPAN} at (0,0) size 7x16
    278             RenderText {#text} at (304,1) size 7x16
    279               text run at (304,1) width 7: "\\"
    280           RenderInline {SPAN} at (0,0) size 7x16
    281             RenderText {#text} at (311,1) size 7x16
    282               text run at (311,1) width 7: "\\"
     274        RenderInline {SPAN} at (0,0) size 324x16
     275          RenderText {#text} at (0,1) size 306x16
     276            text run at (0,1) width 306: "Using font \"icon\". expected: backslash, actual: \x{A5}"
     277          RenderInline {SPAN} at (0,0) size 9x16
     278            RenderText {#text} at (306,1) size 9x16
     279              text run at (306,1) width 9: "\x{A5}"
     280          RenderInline {SPAN} at (0,0) size 9x16
     281            RenderText {#text} at (315,1) size 9x16
     282              text run at (315,1) width 9: "\x{A5}"
    283283      RenderBlock {DIV} at (0,425) size 769x18
    284         RenderInline {SPAN} at (0,0) size 327x16
    285           RenderText {#text} at (0,1) size 313x16
    286             text run at (0,1) width 313: "Using font \"menu\". expected: backslash, actual: \\"
    287           RenderInline {SPAN} at (0,0) size 7x16
    288             RenderText {#text} at (313,1) size 7x16
    289               text run at (313,1) width 7: "\\"
    290           RenderInline {SPAN} at (0,0) size 7x16
    291             RenderText {#text} at (320,1) size 7x16
    292               text run at (320,1) width 7: "\\"
     284        RenderInline {SPAN} at (0,0) size 333x16
     285          RenderText {#text} at (0,1) size 315x16
     286            text run at (0,1) width 315: "Using font \"menu\". expected: backslash, actual: \x{A5}"
     287          RenderInline {SPAN} at (0,0) size 9x16
     288            RenderText {#text} at (315,1) size 9x16
     289              text run at (315,1) width 9: "\x{A5}"
     290          RenderInline {SPAN} at (0,0) size 9x16
     291            RenderText {#text} at (324,1) size 9x16
     292              text run at (324,1) width 9: "\x{A5}"
    293293      RenderBlock {DIV} at (0,443) size 769x18
    294         RenderInline {SPAN} at (0,0) size 380x16
    295           RenderText {#text} at (0,1) size 366x16
    296             text run at (0,1) width 366: "Using font \"message-box\". expected: backslash, actual: \\"
    297           RenderInline {SPAN} at (0,0) size 7x16
    298             RenderText {#text} at (366,1) size 7x16
    299               text run at (366,1) width 7: "\\"
    300           RenderInline {SPAN} at (0,0) size 7x16
    301             RenderText {#text} at (373,1) size 7x16
    302               text run at (373,1) width 7: "\\"
     294        RenderInline {SPAN} at (0,0) size 386x16
     295          RenderText {#text} at (0,1) size 368x16
     296            text run at (0,1) width 368: "Using font \"message-box\". expected: backslash, actual: \x{A5}"
     297          RenderInline {SPAN} at (0,0) size 9x16
     298            RenderText {#text} at (368,1) size 9x16
     299              text run at (368,1) width 9: "\x{A5}"
     300          RenderInline {SPAN} at (0,0) size 9x16
     301            RenderText {#text} at (377,1) size 9x16
     302              text run at (377,1) width 9: "\x{A5}"
    303303      RenderBlock {DIV} at (0,461) size 769x18
    304         RenderInline {SPAN} at (0,0) size 322x13
    305           RenderText {#text} at (0,3) size 310x13
    306             text run at (0,3) width 310: "Using font \"small-caption\". expected: backslash, actual: \\"
    307           RenderInline {SPAN} at (0,0) size 6x13
    308             RenderText {#text} at (310,3) size 6x13
    309               text run at (310,3) width 6: "\\"
    310           RenderInline {SPAN} at (0,0) size 6x13
    311             RenderText {#text} at (316,3) size 6x13
    312               text run at (316,3) width 6: "\\"
     304        RenderInline {SPAN} at (0,0) size 325x13
     305          RenderText {#text} at (0,3) size 311x13
     306            text run at (0,3) width 311: "Using font \"small-caption\". expected: backslash, actual: \x{A5}"
     307          RenderInline {SPAN} at (0,0) size 7x13
     308            RenderText {#text} at (311,3) size 7x13
     309              text run at (311,3) width 7: "\x{A5}"
     310          RenderInline {SPAN} at (0,0) size 7x13
     311            RenderText {#text} at (318,3) size 7x13
     312              text run at (318,3) width 7: "\x{A5}"
    313313      RenderBlock {DIV} at (0,479) size 769x18
    314         RenderInline {SPAN} at (0,0) size 279x12
    315           RenderText {#text} at (0,4) size 267x12
    316             text run at (0,4) width 267: "Using font \"status-bar\". expected: backslash, actual: \\"
    317           RenderInline {SPAN} at (0,0) size 6x12
    318             RenderText {#text} at (267,4) size 6x12
    319               text run at (267,4) width 6: "\\"
    320           RenderInline {SPAN} at (0,0) size 6x12
    321             RenderText {#text} at (273,4) size 6x12
    322               text run at (273,4) width 6: "\\"
     314        RenderInline {SPAN} at (0,0) size 282x12
     315          RenderText {#text} at (0,4) size 268x12
     316            text run at (0,4) width 268: "Using font \"status-bar\". expected: backslash, actual: \x{A5}"
     317          RenderInline {SPAN} at (0,0) size 7x12
     318            RenderText {#text} at (268,4) size 7x12
     319              text run at (268,4) width 7: "\x{A5}"
     320          RenderInline {SPAN} at (0,0) size 7x12
     321            RenderText {#text} at (275,4) size 7x12
     322              text run at (275,4) width 7: "\x{A5}"
    323323      RenderBlock {DIV} at (0,497) size 769x18
    324         RenderInline {SPAN} at (0,0) size 303x11
    325           RenderText {#text} at (0,5) size 293x11
    326             text run at (0,5) width 293: "Using font \"-webkit-mini-control\". expected: backslash, actual: \\"
    327           RenderInline {SPAN} at (0,0) size 5x11
    328             RenderText {#text} at (293,5) size 5x11
    329               text run at (293,5) width 5: "\\"
    330           RenderInline {SPAN} at (0,0) size 5x11
    331             RenderText {#text} at (298,5) size 5x11
    332               text run at (298,5) width 5: "\\"
     324        RenderInline {SPAN} at (0,0) size 306x11
     325          RenderText {#text} at (0,5) size 294x11
     326            text run at (0,5) width 294: "Using font \"-webkit-mini-control\". expected: backslash, actual: \x{A5}"
     327          RenderInline {SPAN} at (0,0) size 6x11
     328            RenderText {#text} at (294,5) size 6x11
     329              text run at (294,5) width 6: "\x{A5}"
     330          RenderInline {SPAN} at (0,0) size 6x11
     331            RenderText {#text} at (300,5) size 6x11
     332              text run at (300,5) width 6: "\x{A5}"
    333333      RenderBlock {DIV} at (0,515) size 769x18
    334         RenderInline {SPAN} at (0,0) size 371x13
    335           RenderText {#text} at (0,3) size 359x13
    336             text run at (0,3) width 359: "Using font \"-webkit-small-control\". expected: backslash, actual: \\"
    337           RenderInline {SPAN} at (0,0) size 6x13
    338             RenderText {#text} at (359,3) size 6x13
    339               text run at (359,3) width 6: "\\"
    340           RenderInline {SPAN} at (0,0) size 6x13
    341             RenderText {#text} at (365,3) size 6x13
    342               text run at (365,3) width 6: "\\"
     334        RenderInline {SPAN} at (0,0) size 374x13
     335          RenderText {#text} at (0,3) size 360x13
     336            text run at (0,3) width 360: "Using font \"-webkit-small-control\". expected: backslash, actual: \x{A5}"
     337          RenderInline {SPAN} at (0,0) size 7x13
     338            RenderText {#text} at (360,3) size 7x13
     339              text run at (360,3) width 7: "\x{A5}"
     340          RenderInline {SPAN} at (0,0) size 7x13
     341            RenderText {#text} at (367,3) size 7x13
     342              text run at (367,3) width 7: "\x{A5}"
    343343      RenderBlock {DIV} at (0,533) size 769x18
    344         RenderInline {SPAN} at (0,0) size 394x16
    345           RenderText {#text} at (0,1) size 380x16
    346             text run at (0,1) width 380: "Using font \"-webkit-control\". expected: backslash, actual: \\"
    347           RenderInline {SPAN} at (0,0) size 7x16
    348             RenderText {#text} at (380,1) size 7x16
    349               text run at (380,1) width 7: "\\"
    350           RenderInline {SPAN} at (0,0) size 7x16
    351             RenderText {#text} at (387,1) size 7x16
    352               text run at (387,1) width 7: "\\"
     344        RenderInline {SPAN} at (0,0) size 400x16
     345          RenderText {#text} at (0,1) size 382x16
     346            text run at (0,1) width 382: "Using font \"-webkit-control\". expected: backslash, actual: \x{A5}"
     347          RenderInline {SPAN} at (0,0) size 9x16
     348            RenderText {#text} at (382,1) size 9x16
     349              text run at (382,1) width 9: "\x{A5}"
     350          RenderInline {SPAN} at (0,0) size 9x16
     351            RenderText {#text} at (391,1) size 9x16
     352              text run at (391,1) width 9: "\x{A5}"
    353353      RenderBlock {DIV} at (0,551) size 769x18
    354354        RenderInline {SPAN} at (0,0) size 404x18
  • trunk/WebCore/ChangeLog

    r63952 r63957  
     12010-07-23  Shinichiro Hamaji  <hamaji@chromium.org>
     2
     3        Reviewed by Kent Tamura.
     4
     5        Backslash isn't transcoded in <input>
     6        https://bugs.webkit.org/show_bug.cgi?id=42878
     7
     8        * css/CSSStyleSelector.cpp:
     9        (WebCore::CSSStyleSelector::applyProperty):
     10
    1112010-07-22  Ilya Tikhonovsky  <loislo@chromium.org>
    212
  • trunk/WebCore/css/CSSStyleSelector.cpp

    r63950 r63957  
    46244624            FontDescription fontDescription;
    46254625            RenderTheme::defaultTheme()->systemFont(primitiveValue->getIdent(), fontDescription);
    4626             fontDescription.setIsSpecifiedFont(true);
    4627  
     4626
    46284627            // Double-check and see if the theme did anything.  If not, don't bother updating the font.
    46294628            if (fontDescription.isAbsoluteSize()) {
Note: See TracChangeset for help on using the changeset viewer.