Changeset 30952 in webkit


Ignore:
Timestamp:
Mar 10, 2008, 9:42:14 PM (17 years ago)
Author:
justin.garcia@apple.com
Message:

WebCore:

Reviewed by Sam.

<rdar://problem/5779984> REGRESSION (r30391): GMail: Safari won't display the Edit Link dialog

  • bindings/js/JSCSSStyleDeclarationCustom.cpp: (WebCore::hasCSSPropertyNamePrefix): Fixed a typo. The code was only comparing the first character of the prefix to the first character of the property name.

LayoutTests:

Reviewed by Sam.


<rdar://problem/5779984> REGRESSION (r30391): GMail: Safari won't display the Edit Link dialog

  • editing/pasteboard/5780697-2-expected.txt: Added.
  • editing/pasteboard/5780697-2.html: Added.
  • editing/selection/5779984-1-expected.txt: Added.
  • editing/selection/5779984-1.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r30938 r30952  
     12008-03-10  Justin Garcia  <justin.garcia@apple.com>
     2
     3        Reviewed by Sam.
     4       
     5        <rdar://problem/5779984> REGRESSION (r30391): GMail: Safari won't display the Edit Link dialog
     6
     7        * editing/pasteboard/5780697-2-expected.txt: Added.
     8        * editing/pasteboard/5780697-2.html: Added.
     9        * editing/selection/5779984-1-expected.txt: Added.
     10        * editing/selection/5779984-1.html: Added.
     11
    1122008-03-10  Sam Weinig  <sam@webkit.org>
    213
  • trunk/WebCore/ChangeLog

    r30951 r30952  
     12008-03-10  Justin Garcia  <justin.garcia@apple.com>
     2
     3        Reviewed by Sam.
     4
     5        <rdar://problem/5779984> REGRESSION (r30391): GMail: Safari won't display the Edit Link dialog
     6
     7        * bindings/js/JSCSSStyleDeclarationCustom.cpp:
     8        (WebCore::hasCSSPropertyNamePrefix): Fixed a typo.  The code was only
     9        comparing the first character of the prefix to the first character
     10        of the property name.
     11
    1122008-03-10  Andre Boule  <aboule@apple.com>
    213
  • trunk/WebCore/bindings/js/JSCSSStyleDeclarationCustom.cpp

    r30942 r30952  
    4242// Check for a CSS prefix.
    4343// Passed prefix is all lowercase.
    44 // First characters of property name may be upper or lowercase.
     44// First character of property name may be upper or lowercase.
    4545// Other characters in the prefix within the property name must be lowercase.
    4646// The prefix within the property name must be followed by a capital letter.
     
    6262        if (!prefix[i])
    6363            return isASCIIUpper(propertyName.data()[i]);
    64         if (propertyName.data()[0] != prefix[0])
     64        if (propertyName.data()[i] != prefix[i])
    6565            return false;
    6666    }
Note: See TracChangeset for help on using the changeset viewer.