Changeset 293089 in webkit
- Timestamp:
- Apr 20, 2022 3:43:36 AM (3 months ago)
- Location:
- trunk
- Files:
-
- 26 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/editing/selection/user-select-js-property-expected.txt (modified) (2 diffs)
-
LayoutTests/editing/selection/user-select-js-property.html (modified) (6 diffs)
-
LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt (modified) (2 diffs)
-
LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt (modified) (2 diffs)
-
LayoutTests/fast/css/getComputedStyle/resources/property-names.js (modified) (2 diffs)
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt (modified) (2 diffs)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-ui/inheritance-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-ui/parsing/user-select-computed-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/css/css-ui/parsing/user-select-valid-expected.txt (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/inert/inert-computed-style-expected.txt (modified) (1 diff)
-
LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt (modified) (2 diffs)
-
LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt (modified) (2 diffs)
-
LayoutTests/svg/css/getComputedStyle-basic-expected.txt (modified) (4 diffs)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/animation/CSSPropertyAnimation.cpp (modified) (1 diff)
-
Source/WebCore/css/CSSComputedStyleDeclaration.cpp (modified) (1 diff)
-
Source/WebCore/css/CSSProperties.json (modified) (1 diff)
-
Source/WebCore/css/html.css (modified) (10 diffs)
-
Source/WebCore/css/mediaControls.css (modified) (3 diffs)
-
Source/WebCore/css/parser/CSSParserFastPaths.cpp (modified) (2 diffs)
-
Source/WebCore/css/plugIns.css (modified) (1 diff)
-
Source/WebCore/dom/ImageOverlay.cpp (modified) (3 diffs)
-
Source/WebCore/html/HTMLElement.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r293088 r293089 1 2022-04-20 Tim Nguyen <ntim@apple.com> 2 3 Unprefix -webkit-user-select CSS property 4 https://bugs.webkit.org/show_bug.cgi?id=208677 5 6 Reviewed by Simon Fraser. 7 8 * editing/selection/user-select-js-property-expected.txt: 9 * editing/selection/user-select-js-property.html: 10 * fast/css/getComputedStyle/computed-style-expected.txt: 11 * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: 12 * fast/css/getComputedStyle/resources/property-names.js: 13 * platform/gtk/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt: 14 * platform/ios/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt: 15 * platform/wpe/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt: 16 * svg/css/getComputedStyle-basic-expected.txt: 17 1 18 2022-04-20 Tim Nguyen <ntim@apple.com> 2 19 -
trunk/LayoutTests/editing/selection/user-select-js-property-expected.txt
r293028 r293089 1 Test setting CSSStyleDeclaration.webkitUserS tyle and userStyle1 Test setting CSSStyleDeclaration.webkitUserSelect and userSelect 2 2 3 3 editable … … 5 5 6 6 PASS user-select-js-property 7 PASS 'userSelect' in style 7 8 PASS 'webkitUserSelect' in style 8 PASS webkitUserSelect of '#bar { -webkit-user-select: none; }' should be 'none' 9 PASS userSelect of '#foo { user-select: none; }' should be 'none' 10 PASS webkitUserSelect of '#foo { user-select: none; }' should be 'none' 11 PASS userSelect of '#bar { user-select: none; }' should be 'none' 12 PASS webkitUserSelect of '#bar { user-select: none; }' should be 'none' 13 PASS userSelect of 'user-select:none' should be 'none' 14 PASS webkitUserSelect of 'user-select:none' should be 'none' 15 PASS userSelect of '-webkit-user-select:none' should be 'none' 9 16 PASS webkitUserSelect of '-webkit-user-select:none' should be 'none' 10 17 -
trunk/LayoutTests/editing/selection/user-select-js-property.html
r293028 r293089 3 3 <script src="../../resources/testharnessreport.js"></script> 4 4 <style> 5 /* FIXME: Add testcases for unprefixed version (webkit.org/b/208677) */ 5 #foo { 6 user-select: none; 7 } 6 8 #bar { 7 9 -webkit-user-select: none; … … 9 11 </style> 10 12 <div id="container"> 11 <p id="description">Test setting CSSStyleDeclaration.webkitUserS tyle and userStyle</p>13 <p id="description">Test setting CSSStyleDeclaration.webkitUserSelect and userSelect</p> 12 14 <div id="sample1" contenteditable="true">editable</div> 13 15 <div id="sample2" contenteditable="false">uneditable</div> 16 <div class="none" style="user-select:none"></div> 14 17 <div class="none" style="-webkit-user-select:none"></div> 15 18 </div> … … 17 20 <script> 18 21 var selection = window.getSelection(); 19 function setSelection(node) 20 { 22 function setSelection(node) { 21 23 var range = document.createRange(); 22 24 range.selectNodeContents(node); … … 25 27 } 26 28 27 test(function() {28 // user-select: none in editable element29 test(function() { 30 // user-select: none in editable element 29 31 sample1.style.webkitUserSelect = "none"; 30 32 setSelection(sample1); 31 33 assert_equals(selection.type, "Range"); 32 34 33 // user-select: none in uneditable element35 // user-select: none in uneditable element 34 36 sample2.style.webkitUserSelect = "none"; 35 37 setSelection(sample2); … … 38 40 39 41 var style = document.createElement("baz").style; 40 test(function () { 42 test(function() { 43 assert_true("userSelect" in style); 44 }, "'userSelect' in style"); 45 test(function() { 41 46 assert_true("webkitUserSelect" in style); 42 47 }, "'webkitUserSelect' in style"); … … 51 56 52 57 function testUserSelect(style, title) { 53 test(function () { 58 test(function() { 59 assert_equals(style.userSelect, "none"); 60 }, `userSelect of '${title}' should be 'none'`); 61 test(function() { 54 62 assert_equals(style.webkitUserSelect, "none"); 55 }, "webkitUserSelect of '" + title + "' should be 'none'");63 }, `webkitUserSelect of '${title}' should be 'none'`); 56 64 } 57 65 </script> -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt
r292467 r293089 194 194 transition-timing-function: ease; 195 195 unicode-bidi: normal; 196 user-select: text; 196 197 vector-effect: none; 197 198 vertical-align: baseline; … … 257 258 -webkit-user-drag: auto; 258 259 -webkit-user-modify: read-only; 259 -webkit-user-select: text;260 260 261 261 Other attributes that the computed style class supports: -
trunk/LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
r292467 r293089 193 193 transition-timing-function: ease 194 194 unicode-bidi: normal 195 user-select: text 195 196 vector-effect: none 196 197 vertical-align: baseline … … 256 257 -webkit-user-drag: auto 257 258 -webkit-user-modify: read-only 258 -webkit-user-select: text259 259 background-position-x: 0% 260 260 background-position-y: 0% -
trunk/LayoutTests/fast/css/getComputedStyle/resources/property-names.js
r292467 r293089 117 117 "-webkit-user-drag": true, 118 118 "-webkit-user-modify": true, 119 "-webkit-user-select": true,120 119 "-webkit-writing-mode": true, 121 120 "alignment-baseline": true, … … 268 267 "top": true, 269 268 "unicode-bidi": true, 269 "user-select": true, 270 270 "vector-effect": true, 271 271 "vertical-align": true, -
trunk/LayoutTests/imported/w3c/ChangeLog
r293052 r293089 1 2022-04-20 Tim Nguyen <ntim@apple.com> 2 3 Unprefix -webkit-user-select CSS property 4 https://bugs.webkit.org/show_bug.cgi?id=208677 5 6 Reviewed by Simon Fraser. 7 8 WPT progressions. 9 10 * web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt: 11 * web-platform-tests/css/css-ui/inheritance-expected.txt: 12 * web-platform-tests/css/css-ui/parsing/user-select-computed-expected.txt: 13 * web-platform-tests/css/css-ui/parsing/user-select-valid-expected.txt: 14 * web-platform-tests/inert/inert-computed-style-expected.txt: 15 1 16 2022-04-19 Alex Christensen <achristensen@webkit.org> 2 17 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt
r292467 r293089 319 319 PASS translate 320 320 PASS unicode-bidi 321 PASS user-select 321 322 PASS vector-effect 322 323 PASS vertical-align … … 398 399 PASS -webkit-user-drag 399 400 PASS -webkit-user-modify 400 PASS -webkit-user-select401 401 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-ui/inheritance-expected.txt
r284098 r293089 26 26 PASS Property resize has initial value none 27 27 PASS Property resize does not inherit 28 FAIL Property user-select has initial value auto assert_ true: user-select doesn't seem to be supported in the computed style expected true got false29 FAIL Property user-select does not inherit assert_ true: expected true got false28 FAIL Property user-select has initial value auto assert_equals: expected "auto" but got "text" 29 FAIL Property user-select does not inherit assert_not_equals: got disallowed value "none" 30 30 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-ui/parsing/user-select-computed-expected.txt
r264456 r293089 1 1 2 FAIL Property user-select value 'auto' assert_ true: user-select doesn't seem to be supported in the computed style expected true got false3 FAIL Property user-select value 'text' assert_true: user-select doesn't seem to be supported in the computed style expected true got false 4 FAIL Property user-select value 'none' assert_true: user-select doesn't seem to be supported in the computed style expected true got false 5 FAIL Property user-select value 'contain' assert_true: user-select doesn't seem to be supported in the computed styleexpected true got false6 FAIL Property user-select value 'all' assert_true: user-select doesn't seem to be supported in the computed style expected true got false 2 FAIL Property user-select value 'auto' assert_equals: expected "auto" but got "text" 3 PASS Property user-select value 'text' 4 PASS Property user-select value 'none' 5 FAIL Property user-select value 'contain' assert_true: 'contain' is a supported value for user-select. expected true got false 6 PASS Property user-select value 'all' 7 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-ui/parsing/user-select-valid-expected.txt
r264341 r293089 1 1 2 FAIL e.style['user-select'] = "auto" should set the property value assert_not_equals: property should be set got disallowed value "" 3 FAIL e.style['user-select'] = "text" should set the property value assert_not_equals: property should be set got disallowed value "" 4 FAIL e.style['user-select'] = "none" should set the property value assert_not_equals: property should be set got disallowed value "" 2 PASS e.style['user-select'] = "auto" should set the property value 3 PASS e.style['user-select'] = "text" should set the property value 4 PASS e.style['user-select'] = "none" should set the property value 5 5 FAIL e.style['user-select'] = "contain" should set the property value assert_not_equals: property should be set got disallowed value "" 6 FAIL e.style['user-select'] = "all" should set the property value assert_not_equals: property should be set got disallowed value "" 6 PASS e.style['user-select'] = "all" should set the property value 7 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/inert/inert-computed-style-expected.txt
r283795 r293089 1 1 2 FAIL inert isn't hit-testable, but that isn't expose in the computed style assert_equals: inert node doesn't change pointer-events computed value expected (string) "auto" but got (undefined) undefined2 FAIL inert isn't hit-testable, but that isn't expose in the computed style assert_equals: inert node doesn't change pointer-events computed value expected "auto" but got "text" 3 3 -
trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt
r292467 r293089 319 319 PASS translate 320 320 PASS unicode-bidi 321 PASS user-select 321 322 PASS vector-effect 322 323 PASS vertical-align … … 396 397 PASS -webkit-user-drag 397 398 PASS -webkit-user-modify 398 PASS -webkit-user-select399 399 -
trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt
r292467 r293089 287 287 PASS transition-timing-function 288 288 PASS unicode-bidi 289 PASS user-select 289 290 PASS vector-effect 290 291 PASS vertical-align … … 373 374 PASS -webkit-user-drag 374 375 PASS -webkit-user-modify 375 PASS -webkit-user-select376 376 -
trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/css/css-cascade/all-prop-initial-xml-expected.txt
r292467 r293089 319 319 PASS translate 320 320 PASS unicode-bidi 321 PASS user-select 321 322 PASS vector-effect 322 323 PASS vertical-align … … 395 396 PASS -webkit-user-drag 396 397 PASS -webkit-user-modify 397 PASS -webkit-user-select398 398 -
trunk/LayoutTests/svg/css/getComputedStyle-basic-expected.txt
r292467 r293089 385 385 rect: style.getPropertyValue(unicode-bidi) : normal 386 386 rect: style.getPropertyCSSValue(unicode-bidi) : [object CSSPrimitiveValue] 387 rect: style.getPropertyValue(user-select) : text 388 rect: style.getPropertyCSSValue(user-select) : [object CSSPrimitiveValue] 387 389 rect: style.getPropertyValue(vector-effect) : none 388 390 rect: style.getPropertyCSSValue(vector-effect) : [object CSSPrimitiveValue] … … 511 513 rect: style.getPropertyValue(-webkit-user-modify) : read-only 512 514 rect: style.getPropertyCSSValue(-webkit-user-modify) : [object CSSPrimitiveValue] 513 rect: style.getPropertyValue(-webkit-user-select) : text514 rect: style.getPropertyCSSValue(-webkit-user-select) : [object CSSPrimitiveValue]515 515 g: style.getPropertyValue(align-content) : normal 516 516 g: style.getPropertyCSSValue(align-content) : [object CSSValueList] … … 899 899 g: style.getPropertyValue(unicode-bidi) : normal 900 900 g: style.getPropertyCSSValue(unicode-bidi) : [object CSSPrimitiveValue] 901 g: style.getPropertyValue(user-select) : text 902 g: style.getPropertyCSSValue(user-select) : [object CSSPrimitiveValue] 901 903 g: style.getPropertyValue(vector-effect) : none 902 904 g: style.getPropertyCSSValue(vector-effect) : [object CSSPrimitiveValue] … … 1025 1027 g: style.getPropertyValue(-webkit-user-modify) : read-only 1026 1028 g: style.getPropertyCSSValue(-webkit-user-modify) : [object CSSPrimitiveValue] 1027 g: style.getPropertyValue(-webkit-user-select) : text1028 g: style.getPropertyCSSValue(-webkit-user-select) : [object CSSPrimitiveValue]1029 1029 -
trunk/Source/WebCore/ChangeLog
r293086 r293089 1 2022-04-20 Tim Nguyen <ntim@apple.com> 2 3 Unprefix -webkit-user-select CSS property 4 https://bugs.webkit.org/show_bug.cgi?id=208677 5 6 Reviewed by Simon Fraser. 7 8 * animation/CSSPropertyAnimation.cpp: 9 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap): 10 * css/CSSComputedStyleDeclaration.cpp: 11 (WebCore::ComputedStyleExtractor::valueForPropertyInStyle): 12 * css/CSSProperties.json: 13 * css/parser/CSSParserFastPaths.cpp: 14 (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue): 15 (WebCore::CSSParserFastPaths::isKeywordPropertyID): 16 * css/html.css: 17 (#if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY): 18 (input::-webkit-inner-spin-button): 19 (input::-webkit-strong-password-auto-fill-button): 20 (input::-webkit-credentials-auto-fill-button): 21 (input::-webkit-contacts-auto-fill-button): 22 (input::-webkit-credit-card-auto-fill-button): 23 (input::-webkit-caps-lock-indicator): 24 (#if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT): 25 (textarea): 26 (input:-webkit-autofill-strong-password): 27 * css/mediaControls.css: 28 (audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel): 29 (audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls-timeline-container): 30 (video::-webkit-media-text-track-container): 31 * css/plugIns.css: 32 (embed::-webkit-snapshotted-plugin-content > .snapshot-overlay > .snapshot-label,): 33 * dom/ImageOverlay.cpp: 34 (WebCore::ImageOverlay::updateSubtree): 35 (WebCore::ImageOverlay::updateWithTextRecognitionResult): 36 * html/HTMLElement.cpp: 37 (WebCore::HTMLElement::collectPresentationalHintsForAttribute): 38 1 39 2022-04-20 Diego Pino Garcia <dpino@igalia.com> 2 40 -
trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp
r292497 r293089 3651 3651 case CSSPropertyWebkitUserDrag: 3652 3652 case CSSPropertyWebkitUserModify: 3653 case CSSProperty WebkitUserSelect:3653 case CSSPropertyUserSelect: 3654 3654 continue; 3655 3655 default: -
trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
r293042 r293089 3840 3840 case CSSPropertyWebkitUserDrag: 3841 3841 return cssValuePool.createValue(style.userDrag()); 3842 case CSSProperty WebkitUserSelect:3842 case CSSPropertyUserSelect: 3843 3843 return cssValuePool.createValue(style.userSelect()); 3844 3844 case CSSPropertyBorderBottomLeftRadius: -
trunk/Source/WebCore/css/CSSProperties.json
r292759 r293089 7265 7265 "status": "non-standard" 7266 7266 }, 7267 "-webkit-user-select": { 7268 "inherited": true, 7269 "values": [ 7270 "element" 7271 ], 7272 "status": { 7273 "status": "experimental" 7274 }, 7267 "user-select": { 7268 "codegen-properties": { 7269 "aliases": [ 7270 "-webkit-user-select" 7271 ] 7272 }, 7273 "inherited": true, 7274 "values": [ 7275 "none", 7276 "auto", 7277 "text", 7278 "all", 7279 { 7280 "value": "contain", 7281 "status": "unimplemented" 7282 } 7283 ], 7275 7284 "specification": { 7276 7285 "category": "css-ui", -
trunk/Source/WebCore/css/html.css
r293085 r293089 423 423 #endif 424 424 -webkit-rtl-ordering: logical; 425 -webkit-user-select: text;425 user-select: text; 426 426 cursor: auto; 427 427 } … … 598 598 height: 1.5em; 599 599 flex: none; 600 -webkit-user-select: none;600 user-select: none; 601 601 } 602 602 … … 605 605 font-family: -apple-system !important; 606 606 -webkit-text-security: none !important; 607 -webkit-user-select: none !important;607 user-select: none !important; 608 608 pointer-events: none !important; 609 609 text-align: right !important; … … 631 631 #endif 632 632 flex: none; 633 -webkit-user-select: none;633 user-select: none; 634 634 } 635 635 … … 663 663 background-color: black; 664 664 flex: none; 665 -webkit-user-select: none;665 user-select: none; 666 666 } 667 667 … … 683 683 background-color: black; 684 684 flex: none; 685 -webkit-user-select: none;685 user-select: none; 686 686 } 687 687 … … 700 700 align-self: stretch; 701 701 flex: none; 702 -webkit-user-select: none;702 user-select: none; 703 703 } 704 704 … … 711 711 align-self: stretch; 712 712 flex: none; 713 -webkit-user-select: none;713 user-select: none; 714 714 #if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY 715 715 width: 11px; … … 739 739 border: 1px solid; 740 740 -webkit-rtl-ordering: logical; 741 -webkit-user-select: text;741 user-select: text; 742 742 padding: 2px; 743 743 #else … … 789 789 790 790 input:-webkit-autofill-strong-password { 791 -webkit-user-select: none !important;791 user-select: none !important; 792 792 } 793 793 -
trunk/Source/WebCore/css/mediaControls.css
r274810 r293089 47 47 flex-direction: row; 48 48 align-items: center; 49 -webkit-user-select: none;49 user-select: none; 50 50 position: relative; 51 51 bottom: 0; … … 101 101 justify-content: flex-end; 102 102 flex: 1 1; 103 -webkit-user-select: none;103 user-select: none; 104 104 height: 16px; 105 105 min-width: 0; … … 231 231 text-decoration: none; 232 232 pointer-events: none; 233 -webkit-user-select: none;233 user-select: none; 234 234 word-break: break-word; 235 235 -
trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp
r292759 r293089 827 827 case CSSPropertyWebkitUserModify: // read-only | read-write 828 828 return valueID == CSSValueReadOnly || valueID == CSSValueReadWrite || valueID == CSSValueReadWritePlaintextOnly; 829 case CSSProperty WebkitUserSelect: // auto | none | text | all829 case CSSPropertyUserSelect: // auto | none | text | all 830 830 return valueID == CSSValueAuto || valueID == CSSValueNone || valueID == CSSValueText || valueID == CSSValueAll; 831 831 case CSSPropertyWritingMode: … … 991 991 case CSSPropertyWebkitUserDrag: 992 992 case CSSPropertyWebkitUserModify: 993 case CSSProperty WebkitUserSelect:993 case CSSPropertyUserSelect: 994 994 case CSSPropertyWhiteSpace: 995 995 case CSSPropertyWordBreak: -
trunk/Source/WebCore/css/plugIns.css
r188653 r293089 69 69 { 70 70 color: black; 71 -webkit-user-select: none;71 user-select: none; 72 72 } 73 73 -
trunk/Source/WebCore/dom/ImageOverlay.cpp
r293059 r293089 379 379 rootContainer->setTranslate(false); 380 380 if (document->isImageDocument()) 381 rootContainer->setInlineStyleProperty(CSSProperty WebkitUserSelect, CSSValueText);381 rootContainer->setInlineStyleProperty(CSSPropertyUserSelect, CSSValueText); 382 382 383 383 if (mediaControlsContainer) … … 441 441 442 442 if (document->quirks().needsToForceUserSelectAndUserDragWhenInstallingImageOverlay()) { 443 element.setInlineStyleProperty(CSSProperty WebkitUserSelect, CSSValueText);443 element.setInlineStyleProperty(CSSPropertyUserSelect, CSSValueText); 444 444 element.setInlineStyleProperty(CSSPropertyWebkitUserDrag, CSSValueAuto); 445 445 } … … 566 566 )); 567 567 568 textContainer->setInlineStyleProperty(CSSProperty WebkitUserSelect, applyUserSelectAll ? CSSValueAll : CSSValueNone);568 textContainer->setInlineStyleProperty(CSSPropertyUserSelect, applyUserSelectAll ? CSSValueAll : CSSValueNone); 569 569 } 570 570 -
trunk/Source/WebCore/html/HTMLElement.cpp
r293059 r293089 215 215 addPropertyToPresentationalHintStyle(style, CSSPropertyWebkitUserDrag, CSSValueElement); 216 216 if (!isDraggableIgnoringAttributes()) 217 addPropertyToPresentationalHintStyle(style, CSSProperty WebkitUserSelect, CSSValueNone);217 addPropertyToPresentationalHintStyle(style, CSSPropertyUserSelect, CSSValueNone); 218 218 } else if (equalLettersIgnoringASCIICase(value, "false")) 219 219 addPropertyToPresentationalHintStyle(style, CSSPropertyWebkitUserDrag, CSSValueNone);
Note: See TracChangeset
for help on using the changeset viewer.