Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

h1 has "display: block" in Firefox, and "display: table-cell" in other browsers #52

Open
jokester opened this issue Feb 18, 2017 · 3 comments

Comments

@jokester
Copy link

jokester commented Feb 18, 2017

It seems this difference exists since first commit: here

Is this intended?

Screenshot (note the ============ under h1)

screenshot

jokester added a commit to jokester/toosimple that referenced this issue Feb 18, 2017
@ghost
Copy link

ghost commented Feb 19, 2017

@jokester were you able to determine the root cause of the bug? If hack is using standards-based CSS and it's a browser issue I'd lobby to leave it as is to keep the framework ultra light and tidy. After all it's unlikely a user is going to notice anything as there's no obvious display issue.

@jokester
Copy link
Author

@JHabdas I believe the @-moz-document url-prefix() block I referenced was the root cause (-moz- is a browser-specific prefix that only affects Firefox).

What confuses me is why this style was created in the first place 😕

@ghost
Copy link

ghost commented Feb 20, 2017

Browsers are fun! :D

cjbassi added a commit to cjbassi/site that referenced this issue Jul 19, 2019
cjbassi added a commit to cjbassi/hack that referenced this issue Jul 19, 2019
cjbassi added a commit to cjbassi/hack that referenced this issue Jul 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant