Skip to content

Don't inherit text-transform on input elements - #11363

Merged
bors-servo merged 1 commit into
servo:masterfrom
Manishearth:transform-noinherit
May 24, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
Manishearth:transform-noinherit

Conversation

@Manishearth

@Manishearth Manishearth commented May 24, 2016 •

Copy link
Copy Markdown
Member

Seems to be pretty standard across browsers.

See also: https://www.tjvantoll.com/2012/07/10/default-browser-handling-of-the-css-text-transform-property/

Perhaps we should do this for more font properties? It seems like a bunch aren't
inherited.

Fixes #11362


This change is Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label May 24, 2016
@nox

nox commented May 24, 2016

Copy link
Copy Markdown
Contributor

@Manishearth Could you file an issue at HTML?

@Manishearth

Copy link
Copy Markdown
Member Author

I'm not sure if this is a spec thing; it's a user agent styling thing.

@Ms2ger

Ms2ger commented May 24, 2016

Copy link
Copy Markdown
Contributor

Do file that issue.

@nox

nox commented May 24, 2016

Copy link
Copy Markdown
Contributor

@Manishearth I think there should be presentational hints in the spec for this.

@SimonSapin

Copy link
Copy Markdown
Member

I’ve filed whatwg/html#1310. @Manishearth user-agent styling is specified in the Rendering chapter of the HTML spec.

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 227bdfa has been approved by SimonSapin

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels May 24, 2016
@highfive highfive assigned SimonSapin and unassigned Ms2ger May 24, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 227bdfa with merge 2ce9eba...

bors-servo pushed a commit that referenced this pull request May 24, 2016
Don't inherit text-transform on input elements

Seems to be pretty standard across browsers.

See also: https://www.tjvantoll.com/2012/07/10/default-browser-handling-of-the-css-text-transform-property/

Perhaps we should do this for more font properties? It seems like a bunch aren't
inherited.

Fixes #11362

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11363)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows

@bors-servo
bors-servo merged commit 227bdfa into servo:master May 24, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 24, 2016
@Manishearth
Manishearth deleted the transform-noinherit branch May 24, 2016 13:10
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.

6 participants