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

Fix text decoration bug in applicable declarations cache #2581

Merged
merged 3 commits into from
Jun 5, 2014

Conversation

mbrubeck
Copy link
Contributor

@mbrubeck mbrubeck commented Jun 4, 2014

Fixes #2498. Also includes a reftest, and some related code cleanup (in separate commits).

Note: The fix in properties.rs.mako is much more readable with git diff -w.

- Make ApplicableDeclarationsCache::cache priv
- Add a missing semicolon for clarity
- Remove a useless `drop` call.
Even though we don't recompute non-inherited properties here, we still need
to compute properties that are derived from them.  Fixes servo#2498: because
text-decoration is not inherited, -servo-text-decorations-in-effect was not
derived correctly for cached declarations.
@hoppipolla-critic-bot
Copy link

Critic review: https://critic.hoppipolla.co.uk/r/1736

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@mbrubeck
Copy link
Contributor Author

mbrubeck commented Jun 4, 2014

r? @pcwalton since he added this caching code

bors-servo pushed a commit that referenced this pull request Jun 5, 2014
Fixes #2498.  Also includes a reftest, and some related code cleanup (in separate commits).

Note: The fix in `properties.rs.mako` is much more readable with `git diff -w`.
@bors-servo bors-servo merged commit 3e53dbd into servo:master Jun 5, 2014
@mbrubeck mbrubeck deleted the declarations-cache branch June 24, 2014 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

text-decoration (e.g. link underline) appears and disappears on mouseover of any element
4 participants