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

ブラウザ対応状況で不要なタグの除去 #14

Closed
qrac opened this issue Jun 30, 2018 · 6 comments
Closed

ブラウザ対応状況で不要なタグの除去 #14

qrac opened this issue Jun 30, 2018 · 6 comments

Comments

@qrac
Copy link
Owner

qrac commented Jun 30, 2018

#11 sanitize.css v6.0.0 反映 〜 細分化して検証

  • Added: normalize.css updates
// before
abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}
// after
abbr[title] {
  text-decoration: underline;
  text-decoration: underline dotted;
}
@qrac
Copy link
Owner Author

qrac commented Jun 30, 2018

テスト

@qrac
Copy link
Owner Author

qrac commented Jun 30, 2018

Firefox 39

image

Firefox 40

image

@qrac
Copy link
Owner Author

qrac commented Jun 30, 2018

Firefox 39の時にテキストアンダーラインが2重になるようだけど、現行のFirefoxはすでにバージョン61のため問題ない。採用する。

@qrac qrac changed the title abbrのブラウザ対応更新 ブラウザ対応状況で不要なタグの除去 Jun 30, 2018
@qrac
Copy link
Owner Author

qrac commented Jun 30, 2018

// Remove html tag
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

// Remove tag
::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

// Remove data
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

// Remove data, [type="search"]::-webkit-search-cancel-button
::-webkit-search-decoration {
  -webkit-appearance: none;
}

// More Remove = dfn, mark, sub, sup

// More little = `color: #000000;` -> `color: #000;`

@qrac
Copy link
Owner Author

qrac commented Jun 30, 2018

以下もいつの間にか削除されていた。削除しても不具合はなさそう。

::-webkit-input-placeholder {
  color: inherit;
}

@qrac
Copy link
Owner Author

qrac commented Jun 30, 2018

dfn mark は削除しても問題いので削除。sup sub は文字サイズが大きいままだとレイアウト崩れに繋がる可能性があるので、現状を維持。

@qrac qrac closed this as completed Jun 30, 2018
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

No branches or pull requests

1 participant