Commit Graph

97 Commits

Author SHA1 Message Date
Vitor Menezes
fec17839e4 Bug 403524: Make textarea not inherit text decorations and correct the failing reftest (r=dbaron)
Originally, this reftest only failed on Windows (see bug 585684).
However, upon making standards mode compliant with CSS2.1, the bug
described in 585684 spread to all platforms, indicating it was actually
a layout bug and not d2d per se.  This patch makes the anonymous div
inside textareas and text inputs inline-blocks so that they ignore
decorations defined on ancestors.
2011-08-03 11:30:58 -07:00
Mats Palmgren
64fe4b087b Bug 312156 - Implement CSS3 text-overflow. r=dbaron 2011-06-22 20:11:47 +02:00
Mounir Lamouri
154ee5eb0e Bug 644361 - Improve the progress bar rendering by using hexadecimal colors. r=bz,davidb 2011-05-23 22:51:03 +02:00
Boris Zbarsky
6536e39816 Bug 658982. Go back to not allowing changes to line-height on inputs (but continue to allowing it for <button>s, for site compat reasons). r=dbaron 2011-05-23 12:18:32 -04:00
Mounir Lamouri
66e9fa56e1 Bug 656284 - Fix clipped XUL progressmeter on Windows. r=roc 2011-05-16 12:19:27 +02:00
Boris Zbarsky
aa1434671b Bug 652775. Remove the default nowrap styling on <legend>. r=dbaron 2011-05-11 11:28:53 -04:00
Mounir Lamouri
b65fa06fa6 Bug 642667 - Let authors set the progress bar's width when in indeterminate state. r=dbaron 2011-05-06 11:56:47 +02:00
Mounir Lamouri
2e36860cd7 Bug 633209 - Add ::-moz-progress-bar to access the anonymous div inside the progress element. r=dbaron
--HG--
rename : layout/reftests/forms/progress/margin-padding-ref.html => layout/reftests/forms/progress/margin-padding-rtl-ref.html
rename : layout/reftests/forms/progress/margin-padding.html => layout/reftests/forms/progress/margin-padding-rtl.html
2011-05-06 11:52:05 +02:00
Mounir Lamouri
f412df2050 Bug 567872 - Layout part of the progress element. r=roc,dbaron 2011-05-10 14:59:07 +02:00
Shawn Wilsher
259bae0699 Back out bug 514437, bug 567872, bug 568825, bug 633209, bug 633913, bug 634086, bug 634088, bug 634549, bug 634551, bug 638176, bug 641517, bug 641905, bug 641942, bug 642127, and bug 642667 to undo the performance regression tracked by bug 655860. 2011-05-09 15:48:39 -07:00
Mounir Lamouri
f2321ed05a Bug 642667 - Let authors set the progress bar's width when in indeterminate state. r=dbaron 2011-05-06 11:56:47 +02:00
Mounir Lamouri
90e8e686e0 Bug 633209 - Add ::-moz-progress-bar to access the anonymous div inside the progress element. r=dbaron
--HG--
rename : layout/reftests/forms/progress/margin-padding-ref.html => layout/reftests/forms/progress/margin-padding-rtl-ref.html
rename : layout/reftests/forms/progress/margin-padding.html => layout/reftests/forms/progress/margin-padding-rtl.html
2011-05-06 11:52:05 +02:00
Mounir Lamouri
dc2475b233 Bug 567872 - Layout part of the progress element. r=roc,dbaron 2011-05-07 10:15:14 +02:00
Boris Zbarsky
3c2cc88e2d Bug 349259. Allow pages to override line-height on form controls, except for <select>. r=dbaron 2011-05-05 12:26:32 -04:00
L. David Baron
a4f3b61041 Lower the level in the cascade of animations. (Bug 653645) r=bzbarsky 2011-04-30 15:16:19 -07:00
L. David Baron
3aab29ea32 unicode-bidi should inherit into ::-moz-cell-content, ::-moz-anonymous-block, ::-moz-anonymous-positioned-block, and ::-moz-fieldset-content. (Bug 604294) r=bzbarsky 2011-04-22 18:36:24 -07:00
Masayuki Nakano
ea752bfc4b Bug 59109 Part 3: Implement text-decoration-color and text-decoration-style rendering r=dbaron 2011-03-31 21:27:03 +09:00
Boris Zbarsky
8038f06c2e Bug 643945. Use a <button type='button'>, not an <input type='button'>, for the dropmarker in a <select>. r=ehsan 2011-03-25 21:05:56 -04:00
Ehsan Akhgari
2b53877e27 Bug 630564 - Ctrl+Shift+X in the location bar in RTL mode should change the text alignment in addition to directionality; r=roc a=blocking-final+ 2011-02-03 01:31:14 -05:00
Mounir Lamouri
02dcd4ad59 Bug 612752 - Change :-moz-ui-invalid default style when the invalid element is focused. r=dbaron ui-r=limi a=blocking-final
--HG--
rename : layout/reftests/css-ui-invalid/default-style/button-ref.html => layout/reftests/css-ui-invalid/default-style/button-focus-ref.html
rename : layout/reftests/css-ui-invalid/default-style/button.html => layout/reftests/css-ui-invalid/default-style/button-focus.html
rename : layout/reftests/css-ui-invalid/default-style/input-ref.html => layout/reftests/css-ui-invalid/default-style/input-focus-ref.html
rename : layout/reftests/css-ui-invalid/default-style/input.html => layout/reftests/css-ui-invalid/default-style/input-focus.html
rename : layout/reftests/css-ui-invalid/default-style/select-ref.html => layout/reftests/css-ui-invalid/default-style/select-focus-ref.html
rename : layout/reftests/css-ui-invalid/default-style/select.html => layout/reftests/css-ui-invalid/default-style/select-focus.html
rename : layout/reftests/css-ui-invalid/default-style/textarea-ref.html => layout/reftests/css-ui-invalid/default-style/textarea-focus-ref.html
rename : layout/reftests/css-ui-invalid/default-style/textarea.html => layout/reftests/css-ui-invalid/default-style/textarea-focus.html
2010-12-21 19:58:04 -05:00
Mounir Lamouri
b857423fb5 Bug 613249 - <output> should have :-moz-ui-invalid and :-moz-ui-valid applying. r=bz a=jst
--HG--
rename : layout/reftests/css-invalid/output/output-invalid.html => layout/reftests/css-ui-invalid/output/output-invalid.html
rename : layout/reftests/css-invalid/output/output-ref.html => layout/reftests/css-ui-invalid/output/output-ref.html
rename : layout/reftests/css-invalid/output/output-valid.html => layout/reftests/css-ui-invalid/output/output-valid.html
rename : layout/reftests/css-invalid/output/reftest.list => layout/reftests/css-ui-invalid/output/reftest.list
rename : layout/reftests/css-invalid/output/style.css => layout/reftests/css-ui-invalid/output/style.css
rename : layout/reftests/css-valid/output/output-invalid.html => layout/reftests/css-ui-valid/output/output-invalid.html
rename : layout/reftests/css-valid/output/output-ref.html => layout/reftests/css-ui-valid/output/output-ref.html
rename : layout/reftests/css-valid/output/output-valid.html => layout/reftests/css-ui-valid/output/output-valid.html
rename : layout/reftests/css-valid/output/reftest.list => layout/reftests/css-ui-valid/output/reftest.list
rename : layout/reftests/css-valid/output/style.css => layout/reftests/css-ui-valid/output/style.css
2010-11-24 11:13:05 +01:00
Mounir Lamouri
f047fa2dbd Bug 609017 - Default style for :-moz-ui-invalid. r=bz ui-r=limi a=sicking 2010-11-24 00:51:43 +01:00
Mounir Lamouri
18a60e943d Bug 609016 - Remove default style for :invalid. r=bz a=bsmedberg 2010-11-24 00:47:26 +01:00
Mounir Lamouri
d45aa3e0d0 Bug 604673 - <output> should be subject for constraint validation. r=smaug ui-r=limi a=bsmedberg 2010-11-17 17:30:03 +01:00
Mounir Lamouri
183a7a2af4 Bug 600151 - Remove -moz-submit-invalid default style. r+a=dbaron 2010-10-12 14:57:40 +02:00
Mounir Lamouri
2900163868 Bug 557087 (3/6) - Make layout aware of the new disabled state rule. r=dbaron a=sicking
--HG--
extra : rebase_source : 9e7d0a515c3f1bcacdcccc906c611849654ab484
2010-09-19 03:43:15 +02:00
Boris Zbarsky
668eb611a1 Bug 594737. Disabled selects with size and multiple should still look disabled. r=dbaron 2010-09-15 12:40:11 -07:00
L. David Baron
5859a14a99 Rename -moz-box-shadow to box-shadow: mechanical changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
Generated with:
find * -type f -exec sed -i -e 's/\<MozBoxShadow\>/boxShadow/g;s/-moz-box-shadow/box-shadow/gi' {} \;
2010-09-11 09:27:12 -07:00
L. David Baron
7476de1256 Change blur radii in themes and in some tests to match change in how we interpret text-shadow and -moz-box-shadow blur radii. (Bug 590039) r=dao a2.0=blocking2.0:beta6 2010-09-11 09:27:12 -07:00
Mounir Lamouri
634680ac7d Bug 582277 - Default style for :-moz-submit-invalid pseudo-class. r+a=dbaron 2010-09-10 20:40:49 +02:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
e4c76eccb0 Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
This was generated with the command:

LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
    's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
     s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
     s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
     s/-moz-border-radius/border-radius/gi;
     s/_moz_border_radius/border_radius/g;'
2010-09-09 08:21:47 -07:00
Boris Zbarsky
aac4d32fca Bug 593544 followup. Don't force legends to display:block for now. r+a=orange 2010-09-07 15:54:32 -04:00
Boris Zbarsky
4753f55125 Bug 593544. Apply first-letter to legends. r=dbaron a=dbaron 2010-09-07 15:10:42 -04:00
Mounir Lamouri
100dc92dd8 Bug 566045 - Default style for invalid form elements with :invalid. r=dbaron ui-r=limi a2.0=sicking 2010-08-25 06:40:31 +02:00
Mounir Lamouri
41d31e0af5 Bug 457801 (1/2) - Implement -moz-placeholder pseudo-class. r=dbaron a2.0=blocking 2010-08-25 06:39:10 +02:00
Mounir Lamouri
a998cdc78c Backing out unintentional push ba7b3f3d3451, b21458f2e3a2 and f69cabe709ca. a=backout 2010-08-25 02:40:47 +02:00
Mounir Lamouri
5de293a274 Bug 457801 (1/3) - Implement -moz-placeholder pseudo-class. r=dbaron a2.0=blocking 2010-08-24 21:02:09 +02:00
Neil Deakin
2fb7701cbe Bug 553576, change -moz-resize to resize, r=dbaron 2010-07-05 10:41:04 -04:00
Neil Deakin
ceb1712f98 Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Neil Deakin
613aeb8685 Bug 553760, two resizers appear in textarea, hide the one for the placeholder scrollframe, r=dbaron 2010-03-23 13:14:47 -04:00
Neil Deakin
79c932638a Bug 442228, support resizers in scrollable areas and enable them by default for textareas, r=roc,sr=dbaron 2010-03-19 07:49:34 -04:00
Mounir Lamouri
d27579287c Bug 549132 - middle-mouse paste fails in text input field if it is empty and does not have focus; r=bzbarsky 2010-03-01 09:43:20 -08:00
Mounir Lamouri
54f1561afc Bug 457800 - Implement placeholder attribute for text input fields; r=ehsan,bzbarsky,bolter sr=roc ui-r=faaborg
--HG--
extra : rebase_source : 2e2f3a73553d720b32812603b0ce96c89b9a6261
2010-02-26 10:47:38 -08:00
Ricardo Bittencourt
e6a3b1a9b5 Bug 431524. Make the 'cursor' set on a file input work for its button too. r=bzbarsky, ui-r=alimi 2010-02-23 23:37:47 -05:00
Boris Zbarsky
6ae14f3465 Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky
d458769f84 Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron 2009-12-10 14:36:05 -08:00
Robert O'Callahan
e4bc55769e Bug 514660. Use classes instead of an explicit 'style' attribute to style the anonymous DIV of a text control, so that the styles are treated as user-agent styles and not removed when author styling is disabled. r=bzbarsky
--HG--
extra : rebase_source : 949e902529b2e0f48539d40141614038dfea0ea2
2009-09-23 23:02:27 +12:00
Timothy Nikkel
314136f467 Bug 511323. The anonymous block frame that a combobox control frame creates to display the selected option when not dropped down shouldn't inherit the background color of the combobox because it leads to duplicate backgrounds.
--HG--
extra : rebase_source : 23c293381e850974836b07b30352b2780f3f495e
2009-08-26 09:33:37 -07:00
Timothy Nikkel
6788e65ce3 Bug 269908. <legend> default style changes restrict styling options. r+sr=bzbarsky 2009-07-29 18:10:50 -04:00