Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Enable subpixel AA for tabs, status-bar etc. - #7957

Merged
nathansobo merged 1 commit into
masterfrom
sm-gutter
Jul 23, 2015
Merged

nathansobo merged 1 commit into
masterfrom
sm-gutter

Conversation

@simurai

@simurai simurai commented Jul 18, 2015

Copy link
Copy Markdown
Contributor

Problem

The GPU layer added to the .gutter .tiles cause the surounding UI to also composite layers, like the tas or the status-bar. This disables subpixel anti-aliasing and text doesn't look that sharp.

Eventhough the .gutter has overflow: hidden, it seems Chrome still thinks there is a chance of overlapping and thus creates the extra layers.

Solution

Creating an own stacking context with z-index for the .gutter seems to fix it.

z-index

Fixes #7904

Problem: The GPU layer added to the .gutter .tiles cause the surounding UI to also composite layers, like the tas or the status-bar. This disables subpixel anti-aliasing and text doesn't look that sharp.

Eventough the `.gutter` has `overflow: hidden`, it seems Chrome still thinks there is a chance of overlapping and thus creates the extra layers.

Solution: Creating an own stacking context for the `.gutter` seems to fix it.

Issue #7904
@as-cii

as-cii commented Jul 18, 2015

Copy link
Copy Markdown
Contributor

Looks good to me, @simurai! Nice job! ✨

@as-cii

as-cii commented Jul 23, 2015

Copy link
Copy Markdown
Contributor

/cc: @nathansobo for one last look 👀.

nathansobo pushed a commit that referenced this pull request Jul 23, 2015
Enable subpixel AA for tabs, status-bar etc.
@nathansobo
nathansobo merged commit 8586a6f into master Jul 23, 2015
@nathansobo

Copy link
Copy Markdown
Contributor

❤️ Thanks to you both. ❤️

@as-cii
as-cii deleted the sm-gutter branch July 23, 2015 16:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Showing line numbers disables sub-pixel AA on tabs, status-bar etc.

3 participants