Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Issue 2256843003: Use CSS3 style matching on Android. (Closed)

Created:
4 years, 4 months ago by bungeman-skia
Modified:
4 years, 4 months ago
Reviewers:
hal.canary
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Use CSS3 style matching on Android. Android framework doesn't really use this, the largest user is Chromium. At the moment this doesn't resolve oblique requests in a nice way, but the existing code is somewhat close to CSS3 rules already. Instead of adding oblique handling manually, just use the existing CSS3 style matching. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2256843003 Committed: https://skia.googlesource.com/skia/+/0367568d4af6a8ffd75bfd07bcb0172fef415940

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -30 lines) Patch
M src/ports/SkFontMgr_android.cpp View 2 chunks +2 lines, -30 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
bungeman-skia
4 years, 4 months ago (2016-08-18 18:23:52 UTC) #8
hal.canary
lgtm. less code is always better. is anyone going to complain about this?
4 years, 4 months ago (2016-08-18 21:29:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2256843003/1
4 years, 4 months ago (2016-08-18 21:35:08 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/0367568d4af6a8ffd75bfd07bcb0172fef415940
4 years, 4 months ago (2016-08-18 21:36:05 UTC) #13
bungeman-skia
4 years, 4 months ago (2016-08-18 21:37:27 UTC) #14
Message was sent while issue was closed.
On 2016/08/18 21:29:27, Hal Canary wrote:
> lgtm.  less code is always better.
> 
> is anyone going to complain about this?

Yes. It will fix some website somewhere and someone will complain.

Actually, this new code comes pretty close to the old code, aside from the
motivating oblique issue. There were only a few differences when running the old
code through the FontMgr test (the test_matchStyleCSS3 part).

Powered by Google App Engine
This is Rietveld 408576698