-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[:has() pseudo-class] Support invalidation for :any-link, :link and :-webkit-any-link #21663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
EWS run on previous version of this PR (hash faa23e5)
|
faa23e5 to
0cc388d
Compare
|
EWS run on previous version of this PR (hash 0cc388d) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just node() is fine now. The this-> was needed in the old code because the name node was also a local variable.
0cc388d to
236611c
Compare
|
EWS run on current version of this PR (hash 236611c) |
|
EWS run on previous version of this PR (hash 236611c)
|
236611c to
a21efb6
Compare
|
EWS run on previous version of this PR (hash a21efb6)
|
a21efb6 to
84b95a8
Compare
|
EWS run on previous version of this PR (hash 84b95a8) |
84b95a8 to
384cf40
Compare
|
EWS run on current version of this PR (hash 384cf40) |
…-webkit-any-link https://bugs.webkit.org/show_bug.cgi?id=262836 rdar://116616425 Reviewed by Darin Adler. Move Node::isLink/setIsLink to Element, and make use of Style::PseudoClassChangeInvalidation in the setter. Add a web platform test as well. * LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/link-pseudo-class-in-has-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/link-pseudo-class-in-has.html: Added. * Source/WebCore/accessibility/AccessibilityNodeObject.cpp: (WebCore::AccessibilityNodeObject::determineAccessibilityRoleFromNode const): * Source/WebCore/dom/Element.cpp: (WebCore::Element::setIsLink): * Source/WebCore/dom/Element.h: (WebCore::Element::isLink const): * Source/WebCore/dom/Node.cpp: (WebCore::Node::enclosingLinkEventParentOrSelf): * Source/WebCore/dom/Node.h: (WebCore::Node::isLink const): Deleted. (WebCore::Node::setIsLink): Deleted. * Source/WebCore/editing/Editing.cpp: (WebCore::enclosingAnchorElement): * Source/WebCore/html/HTMLAnchorElement.cpp: (WebCore::HTMLAnchorElement::attributeChanged): * Source/WebCore/html/parser/HTMLTreeBuilder.cpp: (WebCore::disallowTelephoneNumberParsing): * Source/WebCore/mathml/MathMLElement.cpp: (WebCore::MathMLElement::attributeChanged): * Source/WebCore/page/InteractionRegion.cpp: (WebCore::interactionRegionForRenderedRegion): * Source/WebCore/rendering/RenderObject.cpp: (WebCore::RenderObject::addPDFURLRect const): * Source/WebCore/svg/SVGAElement.cpp: (WebCore::SVGAElement::svgAttributeChanged): * Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm: (WebKit::WebPage::sendTapHighlightForNodeIfNecessary): * Source/WebKitLegacy/mac/DOM/DOM.mm: (-[DOMNode _linkElement]): Canonical link: https://commits.webkit.org/271919@main
384cf40 to
1d40c07
Compare
|
Committed 271919@main (1d40c07): https://commits.webkit.org/271919@main Reviewed commits have been landed. Closing PR #21663 and removing active labels. |
🛠 ios
1d40c07
384cf40
🧪 wpe-wk2🧪 mac-wk1🛠 🧪 merge