Bug 155493 - REGRESSION (196383): Class change invalidation does not handle :not correctly
Summary: REGRESSION (196383): Class change invalidation does not handle :not correctly
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-03-15 08:58 PDT by Antti Koivisto
Modified: 2016-03-15 10:26 PDT (History)
1 user (show)

See Also:


Attachments
patch (12.52 KB, patch)
2016-03-15 09:30 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (13.29 KB, patch)
2016-03-15 09:42 PDT, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (13.25 KB, patch)
2016-03-15 09:51 PDT, Antti Koivisto
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2016-03-15 08:58:54 PDT
We fail to invalidate bar style in

:not(.foo) bar { }

when class foo is added or removed.
Comment 1 Antti Koivisto 2016-03-15 08:59:21 PDT
rdar://problem/24846762
Comment 2 Antti Koivisto 2016-03-15 09:30:37 PDT
Created attachment 274099 [details]
patch
Comment 3 Antti Koivisto 2016-03-15 09:42:49 PDT
Created attachment 274100 [details]
patch
Comment 4 Antti Koivisto 2016-03-15 09:51:01 PDT
Created attachment 274101 [details]
patch
Comment 5 Andreas Kling 2016-03-15 10:04:38 PDT
Comment on attachment 274101 [details]
patch

r=me
Comment 6 Antti Koivisto 2016-03-15 10:26:51 PDT
https://trac.webkit.org/r198216