Skip to content
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

Parse :active pseudo-class selector. #7334

Merged
merged 2 commits into from Aug 24, 2015
Merged

Parse :active pseudo-class selector. #7334

merged 2 commits into from Aug 24, 2015

Conversation

@SimonSapin
Copy link
Member

SimonSapin commented Aug 24, 2015

This is #7258 with a spec link added in doc-comment.

The pseudo-class is never matched, but this can still help with stylesheets like a:hover, a:active { color: something } where failing to parse one pseudo-class makes the entire selector list invalid.

I filed #7333 about actually making it match.

Review on Reviewable

pcwalton and others added 2 commits Aug 18, 2015
I couldn't find the place in the spec where the precise behavior of
`:active` is described, so I don't set it. However, all the machinery to
keep track of its status is in place.

Improves YouTube.
@highfive
Copy link

highfive commented Aug 24, 2015

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify layout code, but no reftests are modified. Please consider adding a reftest!
@SimonSapin
Copy link
Member Author

SimonSapin commented Aug 24, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Aug 24, 2015

📌 Commit daedee8 has been approved by SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Aug 24, 2015

Testing commit daedee8 with merge fa06a96...

bors-servo pushed a commit that referenced this pull request Aug 24, 2015
Parse :active pseudo-class selector.

This is #7258 with a spec link added in doc-comment.

The pseudo-class is never matched, but this can still help with stylesheets like `a:hover, a:active { color: something }` where failing to parse one pseudo-class makes the entire selector list invalid.

I filed #7333 about actually making it match.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7334)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 24, 2015

☀️ Test successful - android, gonk, linux1, linux2, mac1, mac2, mac3

@bors-servo bors-servo merged commit daedee8 into master Aug 24, 2015
1 check passed
1 check passed
homu Test successful
Details
@SimonSapin SimonSapin deleted the active branch Aug 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.