Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 19825c7e72a850b362266c3729341a60389d11af
https://github.com/WebKit/WebKit/commit/19825c7e72a850b362266c3729341a60389d11af
Author: Alan Baradlay <[email protected]>
Date: 2025-03-28 (Fri, 28 Mar 2025)
Changed paths:
M Source/WebCore/css/ComputedStyleExtractor.cpp
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/DocumentEnums.h
M Source/WebCore/dom/Element.cpp
M Source/WebCore/html/HTMLImageElement.cpp
M Source/WebCore/html/ImageInputType.cpp
M Source/WebCore/page/LocalFrameViewLayoutContext.cpp
M Source/WebCore/page/LocalFrameViewLayoutContext.h
M Source/WebCore/rendering/RenderLayoutState.cpp
M Source/WebCore/rendering/RenderLayoutState.h
M Source/WebCore/svg/SVGGeometryElement.cpp
M Source/WebCore/svg/SVGLocatable.cpp
M Source/WebCore/svg/SVGPathElement.cpp
M Source/WebCore/svg/SVGSVGElement.cpp
M Source/WebCore/svg/SVGTextContentElement.cpp
Log Message:
-----------
[content visibility] Decouple hidden and auto override scopes (forced layout)
https://bugs.webkit.org/show_bug.cgi?id=290597
Reviewed by Antti Koivisto.
This is in preparation for fixing find-in-page bug where 'c-v: auto' content is
not discoverable.
This enables us to run "forced" layout on 'c-v: auto' content only as opposed
to to all c-v.
* LayoutTests/fast/block/float/001.html:
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::ComputedStyleExtractor::propertyValue const):
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::updateLayout):
(WebCore::Document::updateLayoutIfDimensionsOutOfDate):
* Source/WebCore/dom/DocumentEnums.h:
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::offsetLeft):
(WebCore::Element::offsetTop):
(WebCore::Element::offsetParent):
(WebCore::Element::clientLeft):
(WebCore::Element::clientTop):
(WebCore::Element::scrollLeft):
(WebCore::Element::scrollTop):
(WebCore::Element::setScrollLeft):
(WebCore::Element::setScrollTop):
(WebCore::Element::getClientRects):
(WebCore::Element::boundingClientRect):
* Source/WebCore/html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::width):
(WebCore::HTMLImageElement::height):
(WebCore::HTMLImageElement::x const):
(WebCore::HTMLImageElement::y const):
* Source/WebCore/html/ImageInputType.cpp:
(WebCore::ImageInputType::height const):
(WebCore::ImageInputType::width const):
* Source/WebCore/page/LocalFrameViewLayoutContext.cpp:
(WebCore::LocalFrameViewLayoutContext::isSkippedContentForLayout const):
(WebCore::LocalFrameViewLayoutContext::isSkippedContentRootForLayout const):
* Source/WebCore/page/LocalFrameViewLayoutContext.h:
* Source/WebCore/rendering/RenderLayoutState.cpp:
(WebCore::ContentVisibilityOverrideScope::ContentVisibilityOverrideScope):
(WebCore::ContentVisibilityOverrideScope::~ContentVisibilityOverrideScope):
(WebCore::ContentVisibilityForceLayoutScope::ContentVisibilityForceLayoutScope):
Deleted.
(WebCore::ContentVisibilityForceLayoutScope::~ContentVisibilityForceLayoutScope):
Deleted.
* Source/WebCore/rendering/RenderLayoutState.h:
* Source/WebCore/svg/SVGGeometryElement.cpp:
(WebCore::SVGGeometryElement::getTotalLength const):
(WebCore::SVGGeometryElement::getPointAtLength const):
(WebCore::SVGGeometryElement::isPointInFill):
(WebCore::SVGGeometryElement::isPointInStroke):
* Source/WebCore/svg/SVGLocatable.cpp:
(WebCore::SVGLocatable::getBBox):
(WebCore::SVGLocatable::computeCTM):
* Source/WebCore/svg/SVGPathElement.cpp:
(WebCore::SVGPathElement::getTotalLength const):
(WebCore::SVGPathElement::getPointAtLength const):
(WebCore::SVGPathElement::getPathSegAtLength const):
(WebCore::SVGPathElement::getBBox):
* Source/WebCore/svg/SVGSVGElement.cpp:
(WebCore::SVGSVGElement::getIntersectionList):
(WebCore::SVGSVGElement::getEnclosureList):
(WebCore::SVGSVGElement::checkIntersection):
(WebCore::SVGSVGElement::checkEnclosure):
* Source/WebCore/svg/SVGTextContentElement.cpp:
(WebCore::SVGTextContentElement::getNumberOfChars):
(WebCore::SVGTextContentElement::getComputedTextLength):
(WebCore::SVGTextContentElement::getCharNumAtPosition):
Canonical link: https://commits.webkit.org/292855@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes