Changeset 258651 in webkit
- Timestamp:
- Mar 18, 2020 11:12:38 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r258650 r258651 1 2020-03-18 Frederic Wang <fwang@igalia.com> 2 3 frame/iframe scrolling attribute does to recognize value "noscroll" or "off" 4 https://bugs.webkit.org/show_bug.cgi?id=208570 5 6 Reviewed by Rob Buis. 7 8 * TestExpectations: Remove expectation failures. 9 1 10 2020-03-18 Jason Lawrence <lawrence.j@apple.com> 2 11 -
trunk/LayoutTests/TestExpectations
r258553 r258651 1065 1065 imported/w3c/web-platform-tests/IndexedDB/abort-in-initial-upgradeneeded.html [ Pass Failure ] 1066 1066 imported/w3c/web-platform-tests/IndexedDB/clone-before-keypath-eval.html [ Pass Failure ] 1067 1068 # noscroll and off are not supported1069 webkit.org/b/208570 imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-page/iframe-scrolling-attribute-values.html [ ImageOnlyFailure ]1070 webkit.org/b/208570 imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-page/iframe-scrolling-attribute.html [ ImageOnlyFailure ]1071 1067 1072 1068 # Those WPT tests are flaky when failing. -
trunk/Source/WebCore/ChangeLog
r258649 r258651 1 2020-03-18 Frederic Wang <fwang@igalia.com> 2 3 frame/iframe scrolling attribute does to recognize value "noscroll" or "off" 4 https://bugs.webkit.org/show_bug.cgi?id=208570 5 6 Reviewed by Rob Buis. 7 8 Tests: imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-page/iframe-scrolling-attribute.html 9 imported/w3c/web-platform-tests/html/rendering/non-replaced-elements/the-page/iframe-scrolling-attribute-values.html 10 11 * html/HTMLFrameElementBase.cpp: 12 (WebCore::HTMLFrameElementBase::scrollingMode const): Treat "noscroll" and "off" the same as "no". 13 1 14 2020-03-18 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/Source/WebCore/html/HTMLFrameElementBase.cpp
r254498 r258651 223 223 ScrollbarMode HTMLFrameElementBase::scrollingMode() const 224 224 { 225 return equalLettersIgnoringASCIICase(attributeWithoutSynchronization(scrollingAttr), "no") 225 auto scrollingAttribute = attributeWithoutSynchronization(scrollingAttr); 226 return equalLettersIgnoringASCIICase(scrollingAttribute, "no") 227 || equalLettersIgnoringASCIICase(scrollingAttribute, "noscroll") 228 || equalLettersIgnoringASCIICase(scrollingAttribute, "off") 226 229 ? ScrollbarAlwaysOff : ScrollbarAuto; 227 230 }
Note: See TracChangeset
for help on using the changeset viewer.