Commit Graph

28 Commits

Author SHA1 Message Date
Siarhei Bobryk
6cdf65b1e0
Remove redundant text-transform for FF's select
Nowadays we don't need to specify the text-transform property for the
select element for Firefox. Such functionality already built-in in
Firefox as well as for all other browsers normalise.css supports:
Chrome, Safari, Edge, IE11, IE10.

Sources:
- [Firefox's forms.css](https://dxr.mozilla.org/mozilla-central/source/layout/style/res/forms.css#133)
- `view-source:resource://gre-resources/forms.css`

Other changes:
- Specify IE supported versions because we still need to set
text-transform for button in Edge, IE11, and IE10 explicitly.
- Remove select from the text-transform UI test

Tested on:
- Safari 13.1.2
- Chrome 85.0.4183.102
- Firefox 80.0.1
- Edge 44.19041.423.0
- IE 11.450.19041.0
- IE 10.0.9200.16384
2020-09-15 14:04:48 +03:00
Nicolas Gallagher
f7c98c4c85 Don't remove search input cancel button in Chrome/Safari
Fix #685
2018-02-08 15:50:08 -08:00
Ismael Martínez
1aa10ce89f Remove the font-size test on html tag
Remove test: "should have sans-serif font family" in html section.
The font-size declaration in html tag was removed and this test fails.
2018-02-08 15:25:20 -08:00
Jonathan Neal
5d728b83a5 More explicitly define font resets on form controls (#607) 2016-08-08 09:43:30 -04:00
Jonathan Neal
bfe6c20e18 4.2.0 2016-06-30 01:36:25 -04:00
Jonathan Neal
a8e70333dc 4.1.0 (#576) 2016-04-12 08:43:06 -04:00
Jonathan Neal
7f2eaef38d Update documentation and tests 2016-03-19 17:14:10 -04:00
Jonathan Neal
aef06ef3f3 Merge pull request #538 from necolas/fix/313
Remove opinionated pre overflow
2016-03-18 22:55:44 -04:00
Jonathan Neal
c7bef7960b Remove opinionated pre overflow 2016-03-18 00:01:15 -04:00
Jonathan Neal
cbdd0b1683 Correct wrapping not present in IE8/9/10/11 and Edge 12/13 2016-03-17 21:41:39 -04:00
Jonathan Neal
53bd51a093 Remove unnecessary input line-height 2016-03-16 22:25:49 -04:00
Dominic Magnifico
faf5abcb3f Remove unnecessary color inheritance test now that it has been removed from form elements. 2016-01-21 23:51:06 -07:00
Patrick H. Lauke
fe567632af Remove box-sizing for input[type="search"]
This normalizes the CSS to what the suggested default browser CSS should
be, which is now implemented in IE11, Edge, Blink, WebKit and Gecko (for
the latter, see https://www.w3.org/Bugs/Public/show_bug.cgi?id=28784)

References twbs/bootstrap#17379

Closes #471
2016-01-21 13:48:50 -08:00
Nicolas Gallagher
bb82bc9b87 Add 'menu' to tests 2014-10-04 12:39:18 -07:00
Nicolas Gallagher
de39c2c76e Fix indentation 2014-03-26 21:46:07 -07:00
Mathias Bynens
f3db654b78 Fix ‘san-serif’ typo in test file 2014-01-27 10:30:12 -08:00
Nicolas Gallagher
3d8f336d17 Fix textarea test title 2014-01-26 10:18:43 -08:00
Nicolas Gallagher
488f365fdd Update CHANGELOG 2014-01-25 21:06:09 -08:00
Nicolas Gallagher
5b57298fc3 Explicit tests for each normalization
Use a test-like presentation to make it clearer what the test file is
looking to test. Don't use the file as a dumping ground for every HTML
element. This change makes the tests more focused and useful.

Fix gh-276
Fix gh-284
Fix gh-285
2014-01-25 20:44:27 -08:00
Nicolas Gallagher
e372fcd83d Fix rendering of test file on mobile 2014-01-24 13:15:41 -08:00
Nicolas Gallagher
5b9bf5e1a3 Fix optgroup normalization and add test
Ref gh-102
2014-01-15 16:45:43 -08:00
Nicolas Gallagher
0b5badd591 Fix font and color inheritance for forms
Inherit all `font` properties.

Inherit `color` for form controls. Chrome and Safari on OS X will not
inherit `color` as they heavily restrict the author-defined styles that
will be respected for that element.

Fix gh-157
2014-01-15 14:21:28 -08:00
thoppe
6992935807 Fix fieldset width in Chrome and Firefox
Fixes an issue in Firefox [1] and Chrome [2]. The implicit width of
`fieldset` can be determined by the width of descendants rather than the
parent container. This change (adding `min-width:0`) makes the
`fieldset` behave like a `div` in this regard.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=504622
[2] http://stackoverflow.com/questions/8084343/google-chrome-fieldset-overflow-bug

Close #272
2014-01-15 13:20:25 -08:00
Ricky de Laveaga
9709e680d0 Fix incorrect closing tag in test.html 2013-08-25 13:50:58 -07:00
Nicolas Gallagher
77982e20d8 Normalize the template element display
The `template` element shipped in Firefox 22 and Chrome 26. Browsers
without HTML template support should at least hide the element.
2013-07-01 23:54:45 -07:00
Nicolas Gallagher
36fa71d531 Add hr test 2013-01-20 09:45:25 -08:00
Nicolas Gallagher
138536c843 Minor change to test file
Switch from placekitten.com to lorempixel.com for placeholder images.
2012-08-19 19:19:13 +01:00
Nicolas Gallagher
4ed3786354 Rename demo.html to test.html 2012-08-14 23:32:24 +01:00