Граф коммитов

311 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 5a39a1c779 Bug 607267. Don't style imagemaps as block. r=dbaron,tbsaunde 2012-07-17 12:18:53 -04:00
Tal Aloni 4096278930 Bug 248239 - Change standards mode height calculations for table cells to use content-box sizing rather than border-box sizing by default (and to honor -moz-box-sizing, which we do not do in quirks mode). Also remove -moz-box-sizing: border-box from default style for caption element (all modes). r=dbaron 2012-06-30 12:01:31 -04:00
L. David Baron 74cf33b134 Backout changeset 1e2b9cdc486b (Bug 248239) due to failure of tests/MochiKit-1.4.2/tests/test_MochiKit-Style.html . 2012-06-26 18:16:09 -07:00
Tal Aloni be79a0decf Change standards mode height calculations for table cells to use content-box sizing rather than border-box sizing by default (and to honor -moz-box-sizing, which we do not do in quirks mode). Also remove -moz-box-sizing: border-box from default style for caption element (all modes). (Bug 248239) r=dbaron 2012-06-26 16:24:23 -07:00
Jared Wein 2f7b6b29fb Backed out changeset feec545f5f98 (bug 713608) 2012-06-19 14:11:38 -07:00
Jared Wein 97b9005081 Backed out changeset 0fa8e0eb40a7 (bug 760696) 2012-06-19 14:11:23 -07:00
Frank Yan ab80151f3b Bug 760696 - Use :fullscreen to detect HTML5 video/audio state for controls visibility. r=jaws,dbaron 2012-06-01 15:10:37 -07:00
Diogo Golovanevsky Monteiro 628405a8bf Bug 713608 - HTML5 Video controls are missing in Fullscreen. f=fryn r=jaws,dbaron 2012-05-30 17:04:43 -07:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
David Bolter ab09888daa Bug 495912 - Expose content in HTML canvas elements. r=bz,roc r=surkov(tests)
layout-mentor: bz (mucho thanks!)

We make html canvas frame a container and render frames for its content which makes a lot of what we need for accessibility "just work".
2012-02-17 23:26:37 -05:00
Ed Morley 8de602546b Backout 547de632a3e2 (bug 495912) for mochitest-a11y orange 2012-02-29 18:42:58 +00:00
David Bolter 6392ae8ed0 Bug 495912 - Expose content in HTML canvas elements. r=bz,roc r=surkov(tests)
layout-mentor: bz (mucho thanks!)

We make html canvas frame a container and render frames for its content which makes a lot of what we need for accessibility "just work".
2012-02-17 23:26:37 -05:00
Simon Montagu ce40b20333 Add selectors so that block elements with dir also get unicode-bidi: -moz-isolate in the default stylesheet. Bug 676245, r=dbaron 2011-12-04 18:02:10 +02:00
Simon Montagu 23fcb4824f Implement unicode-bidi: -moz-plaintext in layout. Bug 662288, r=roc 2011-10-18 14:51:58 +02:00
Simon Montagu 8920dd6e82 Implement unicode-bidi: -moz-isolate in layout. Bug 613149, r=roc 2011-10-18 14:51:57 +02:00
Chris Pearce 9ffd0a4f24 Bug 545812 - Implement -moz-full-screen css pseudoclass. r=bz 2011-09-05 08:39:08 +12:00
Jan Varga a298beaa2e Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Boris Zbarsky d3de242d42 Bug 652301. Show focus outlines on all but a blacklist of focusable things in HTML, not just on a whitelist of them. r=dbaron 2011-04-27 16:52:23 -04:00
Jonas Sicking 7abc217fd4 Bug 664061: Remove isindex code from layout. r=dbaron 2011-07-19 17:22:01 -07:00
fantasai 5d860b191a Bug 648531 - Use 'none' instead of 'hidden' so that collapsing a table with rules=none doesn't disappear the table border. r=dbaron r=bz 2011-05-12 10:52:48 -07:00
Mounir Lamouri 9d45d86044 Bug 567872 - Layout part of the progress element. r=roc,dbaron 2011-05-10 14:59:07 +02:00
Shawn Wilsher d616bf2fcb 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 75a14a114e Bug 567872 - Layout part of the progress element. r=roc,dbaron 2011-05-07 10:15:14 +02:00
Kyle Huey 9b98dbcd7b Backed out changeset 72430b4913e4 2011-04-27 20:12:27 -04:00
Boris Zbarsky 37892c4076 Bug 652301. Show focus outlines on all focusable things in HTML, not just on a whitelist of them. r=dbaron
The :-moz-focusring style comes first so we don't have to do the :not() and :-moz-any() matching at all for the common case.

--HG--
extra : rebase_source : 330a9f4ba38a6613d3bd43f404325ea4dfcae789
2011-04-27 16:52:23 -04:00
Ehsan Akhgari a9128640d0 Bug 573960 - Make the bordercolor attribute on table elements work again; r=bernd a=blocking-betaN+ 2011-01-31 16:23:01 -05:00
Chris Pearce 375bf0b33c Bug 604885 - backout 00cabcc7d182 a=backout 2010-12-21 07:42:41 +13:00
Chris Pearce 59be19ffa4 Bug 604885 - Don't render video controls outside of css-specified width/height. r=roc a=blocking2.0 2010-11-25 07:34:56 +13:00
L. David Baron 510cf7f2b0 Revert code changes from changeset 1640dcbf1d4c (bug 541406), and add embed:-moz-focusring too, now that bug 542595 is fixed. r=roc 2010-10-23 16:31:55 -07:00
L. David Baron 54958ef33a Add a selector hack so that we can implement table border styles compatibly in CSS. (Bug 539880) Test by Geoff Lankow <geoff@darktrojan.net>. r=bzbarsky a2.0=blocking2.0:betaN 2010-10-06 21:25:47 -07:00
Mounir Lamouri 06546aad23 Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc 2010-09-10 07:16:56 +02:00
Ms2ger 96299b3d2f Implement the figure element. r=jst+timeless+ehsan (Bug 573356) 2010-06-23 10:08:56 -07:00
Ivan Enderlin ext:(%2C%20Mounir%20Lamouri%20%3Cmounir.lamouri%40gmail.com%3E%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E) 11aa72f2d4 Implement the mark element. r=jonas+timeless (Bug 485377) 2010-06-23 10:08:56 -07:00
L. David Baron a5fdfffd89 Add appropriate styles for the effects of HTML5 sectioning elements on headers. (Bug 562835) r=bzbarsky 2010-05-13 19:36:48 -07:00
Boris Zbarsky 0119433e2d Bug 559284. Make various HTML5 sectioning elements display:block. r=dbaron 2010-04-26 16:27:01 -04:00
L. David Baron dd9bcaffc0 Make some selectors in html.css faster using :-moz-any(). (Bug 544834) r=bzbarsky 2010-04-23 19:59:47 -07:00
Neil Deakin b627649b3d 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
Henri Sivonen e8a8915f17 Bug 452915 - Remove default border from linked images per HTML5. r=dbaron.
--HG--
extra : rebase_source : 10b90a485cffe44c01493d4469eec2204724e2ce
2010-02-02 09:43:18 +02:00
Robert O'Callahan 5983802080 Bug 541406. Temporarily disable showing outlines on focused plugins. r=dbaron
--HG--
extra : rebase_source : 94ac716a6c796c6f6e31f97847c91e56b747566b
2010-02-12 10:45:09 +13:00
Robert O'Callahan 1042340a8a Backed out changeset 73f6051d6ff9 2010-02-12 14:12:11 +13:00
Robert O'Callahan c757941ca4 Bug 541406. Temporarily disable showing outlines on focused plugins. r=dbaron 2010-02-12 10:45:09 +13:00
Bernd f2eb2aae2e bug 43178 - replace incorrect border, frame and rules handling code in content by css rules, initial patch - fantasai, a lof of input - bz r=bzbarsky 2010-01-09 16:33:03 +01:00
Boris Zbarsky de6e7f37e7 Bug 536716. Make BuildScrollFrame not set the primary frame on the content, fix letter frames to reset primary frames to 0 before resetting them to the new value as needed, fix things so <area> never gets a frame of its own, and reenable the SetPrimaryFrame assertion when the primary frame is being changed from one non-null frame to another. r=roc 2009-12-31 14:07:56 -05:00
Simon Montagu e1d91ed29b Ensure that block elements with display changed to inline are formatted as bidi embeddings. Bug 503957, r=dbaron 2009-08-11 00:16:20 -07:00
Robert O'Callahan ecb79d74da Bug 449149. Implement the 'controls' attribute for audio elements. r+sr=bzbarsky,r=dolske,r=enndeakin
--HG--
extra : rebase_source : 4d11b963d3082f98269069c68aae33eef365aacb
2008-12-17 13:27:46 +13:00
Mats Palmgren 23da00893f Always paint text-decoration:blink in non-dynamic (print/preview) contexts. b=153092 r+sr=roc 2008-07-08 18:18:32 +02:00
dbaron@dbaron.org f94fd579c7 Stop using -moz-float-edge for list items, but offset the bullet position in the presence of floats. b=413840 (and numerous others) r+sr=roc a=blocking1.9+ 2008-02-10 13:49:24 -08:00
martijn.martijn@gmail.com abd982f944 Bug 407016 - Marquee GetMinWidth() is no longer 0 after bug 402567 landed, r=dholbert, sr=bzbarsky, a=blocking1.9 2008-01-09 04:43:44 -08:00
dbaron@dbaron.org df3358641f Implement -moz-border-start and -moz-border-end. Patch by Simon Montagu <smontagu@smontagu.org> and me. b=74880 r/sr=smontagu/dbaron 2007-07-04 11:51:16 -07:00
martijn.martijn@gmail.com 050673a65d Bug 376891 - <center><marquee direction=up/down></center> has different result in IE, r=dbaron, sr=bzbarsky 2007-04-12 07:54:34 -07:00
masayuki%d-toybox.com 3d231f620b Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron 2007-03-15 16:16:20 +00:00
dbaron%dbaron.org 74d37e4e23 Move gray-ness of table borders to quirks mode and restore our prior standards-mode behavior. b=84307 r=fantasai sr=bzbarsky 2007-02-02 06:11:56 +00:00
dbaron%dbaron.org 1e0db05c93 Make default table and hr border colors be gray rather than special values that depend on the background color, and remove the special values that depend on the background. b=84307 Patch by fantasai <fantasai.bugs@inkedblade.net>. r=bzbarsky sr=dbaron 2007-02-01 02:45:55 +00:00
dbaron%dbaron.org ea61f5fb3b Make marquee use inline-block. b=163504 r=martijn sr=bzbarsky 2007-01-27 18:40:57 +00:00
dbaron%dbaron.org 31f1898810 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu c72fb8dce5 Fix bug 349695 by taking a different approach to setting display:none on HTML
forms inside tables; this approach overrides author styles.  r+sr=dbaron
2006-08-25 22:33:17 +00:00
smontagu%smontagu.org 6330067fc1 Bidi support for alternate text: reorder the text correctly, align text and icon to the right when direction is right-to-left, and create a bidi embedding when the alternate text is displayed inline. Bug 345954, r=uriber, sr=bzbarsky 2006-07-31 07:08:45 +00:00
dbaron%dbaron.org 86f8ddd894 Fix crash relating to uninitialized floats in cursor structure, and make imagemap images use the cursor style of the areas when in them (instead of the cursor style from the image) and the cursor style of the image when not in the areas (instead of a hardcoded default). b=302536 r=biesi sr=bzbarsky 2006-04-20 21:02:10 +00:00
bzbarsky%mit.edu 21d888e8d0 Finish fixing bug 114641. r=biesi, sr=dbaron 2005-10-17 00:52:58 +00:00
bzbarsky%mit.edu 0d1e336c9a Try fixing bug 288064 again. r=biesi, sr=dbaron 2005-10-17 00:50:39 +00:00
bzbarsky%mit.edu 075b078215 Fix bug 309118 (removing vertical-align hack for broken objects from html.css).
r+sr=dbaron
2005-10-08 02:25:00 +00:00
bzbarsky%mit.edu 79185165c1 Backing out bug 288064 because of the Tp hit. 2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu 7a5cbee6e9 Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron
2005-10-01 00:34:03 +00:00
bzbarsky%mit.edu e4f06b82ae Back out part of patch for bug 155507 to fix bug 310100. r=bernd, sr=dbaron 2005-09-27 13:29:27 +00:00
mrbkap%gmail.com caa42cda75 bug 309902: This was supposed to land with the fix for bug bug 287990, but I forgot to check it in then, checking it in now (changes had r=jst sr=dbaron). 2005-09-26 18:10:56 +00:00
bzbarsky%mit.edu 5cc5358635 Fix silly CSS error. Bug 309146, r+sr=dbaron 2005-09-19 17:29:36 +00:00
bzbarsky%mit.edu 608088a431 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron
2005-09-18 18:05:40 +00:00
vladimir%pobox.com b651bbf0d3 b=294852, canvas is too easily selected, r=vladimir,a=bsmedberg 2005-07-28 17:20:37 +00:00
bzbarsky%mit.edu f70c08e093 Move some marquee styles into a scoped binding sheet, and deal better with the
fact that the binding is not actually removed when printing.  Bug 170341, patch
by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=bzbarsky, a=bsmeberg
2005-07-18 21:15:42 +00:00
vladimir%pobox.com de01b09320 b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver 2005-05-07 03:45:06 +00:00
dbaron%dbaron.org 8b40c23c0e rules=all and rules=none shouldn't trigger collapsed borders. b=155507 r=bernd sr=bzbarsky a=asa 2005-04-28 20:47:06 +00:00
dbaron%dbaron.org da745299c9 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00
mats.palmgren%bredband.net 4f49d3bf00 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron
2005-03-27 11:36:08 +00:00
bzbarsky%mit.edu f03bac09cc Add an IsFloatContainingBlock() method on nsIFrame, use this in the frame
constructor.  Make sure the div inside an <object> when we do our "we need a
plugin" thing has the space manager bit set.  Bug 283385, bug 285165, bug
286111.  r+sr=roc
2005-03-18 04:13:05 +00:00
roc+%cs.cmu.edu e29e28ebd5 Bug 267037. Buttons should delegate child frames to the wrapped block, and tell the style system that legends are always blocks. Fixes a couple of crashes. r+sr=bzbarsky 2005-03-07 19:08:26 +00:00
bzbarsky%mit.edu 558e1b3f93 Put the quirky 1em bottom margin on forms only in quirks mode. Bug 41806,
patch by Anne van Kesteren <bug@annevankesteren.nl>, r=bzbarsky, sr=dbaron
2005-02-18 06:13:28 +00:00
roc+%cs.cmu.edu aa472caca7 Bug 274521. Disable 'border' on frames and framesets since we don't actually support it. r+sr=bzbarsky 2005-02-08 02:08:13 +00:00
aaronleventhal%moonset.net 3bc5cf665e Bug 256003. Remove -moz-user-focus from html.css, forms.css, ua.css. It's been deprecated from use in HTML. Patch by Martijn Wargers. r=bryner, sr=roc 2005-01-23 03:48:00 +00:00
mats.palmgren%bredband.net 8a4a940c11 Improve handling of 'display' property for <noscript>. b=236450 r+sr=bzbarsky 2005-01-03 19:37:54 +00:00
bzbarsky%mit.edu 23bcd45fd7 Move handling of "dir" and "bdo" into ua.css so it doesn't get turned off when
author styles are disabled.  Bug 261361, patch by fantasai
<fantasai.bugs@inkedblade.net>, r=dbaron, sr=bzbarsky
2004-12-09 16:08:43 +00:00
bzbarsky%mit.edu 4ea1df8397 Factor out the code to insert a frame into the right childlist (used for
handling out-of-flows) into a function on the frame constructor state.  Enforce
some invariants via !important rules in html.css instead of hacking them into
the code.  Bug 263406, r+sr=roc
2004-10-27 01:34:22 +00:00
bzbarsky%mit.edu 8cf7d0e9af Make vertical marquees actually be 200px height by default. Bug 265631,
original patch by Martijn Wargers <m.wargers@hccnet.nl> with some changes by
me, r=doron, sr=jst
2004-10-24 17:33:22 +00:00
bzbarsky%mit.edu d2a2b2a6fd Remove our broken attempt to support <plaintext> (which is very very
deprecated).  Bug 88987, r=jst, sr=dbaron
2004-10-09 16:55:54 +00:00
roc+%cs.cmu.edu dba4f07f62 Bug 133165. Draw the outline outside the frame's normal overflow area. r+sr=dbaron. Also, correct some trivial misuses of nsChangeHint, r+sr=mozbot 2004-08-26 00:07:56 +00:00
aaronleventhal%moonset.net cc206bb650 Bug 250006. Clean up GetNextTabbableContent(). Remove tabbable property from DOM interfaces. Clean up spurious focus outline effects. r=bryner, sr=jst 2004-07-24 21:12:43 +00:00
jst%mozilla.jstenback.com 35a7178529 Landing patch for aaronleventhal@moonset.net. Bug 250208. Fix regression that made dropdowns not work as expected on Linux. r=jst@mozilla.jstenback.com, sr=dbaron@dbaron.org, a=asa@mozilla.org 2004-07-09 22:33:35 +00:00
aaronleventhal%moonset.net 1f6e33dc7a Bug 171366. Support tabindex for all elements. r=bryner, sr=jst 2004-07-07 00:58:57 +00:00
gerv%gerv.net 708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
dbaron%dbaron.org d0283a6ab9 Use correct 'vertical-align' for XHTML tables without tbody. b=237860 r=bernd sr=roc a=chofmann 2004-03-19 01:34:47 +00:00
bmlk%gmx.de ea9e726b8b implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron 2004-03-09 06:48:35 +00:00
dbaron%dbaron.org 474bdc807e Implement -moz-margin-start, -moz-margin-end, -moz-padding-start, and -moz-padding-end and cascade them correctly. Use them in html.css to improve default styles for lists in RTL documents. b=74880 r+sr=bzbarsky 2004-02-04 06:10:56 +00:00
dbaron%dbaron.org c49da48965 Change our implementation of 'overflow: hidden' to be more compatible with other browsers, as CSS 2.1 now allows. b=69355 r+sr=bzbarsky 2003-09-16 22:09:18 +00:00
caillon%returnzero.com a9e2dece76 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bernd.mielke%snafu.de 96dc8af21b enable color for <hr> borders bug 38370 r=hixie sr=bzbarsky 2003-01-13 12:10:11 +00:00
bzbarsky%mit.edu 8dcc730013 bug 187428 -- cursor should just inherit down to images within links instead of
being set explicitly.  r+sr=dbaron
2003-01-05 19:05:14 +00:00
bzbarsky%mit.edu ff14aa1c72 Fix crash if a site overrides one of our "magic" rules. Make some of the rules
!important, make nsViewportFrame a containing block no matter what the CSS
says. Bug 181692, r=karnaze, sr=dbaron
2002-11-25 23:40:58 +00:00
bernd.mielke%snafu.de c2ad0f7d79 Initialize text-indent at the table boundary, this cuts inheritance of text-indent inside tables. plus removal of a conflicting border specification bug 140682 r=hixie sr=bzbarsky 2002-11-23 17:56:44 +00:00
dbaron%fas.harvard.edu f6b1702067 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
bernd.mielke%snafu.de 4abbad8856 Implement for table captions caption-side: left and right, also <caption align="left"> and right, further vertical-align:top, middle and bottom for table captions bug 3166 r=karnaze sr=kin 2002-11-08 05:29:34 +00:00
karnaze%netscape.com f54367c783 bug 139524 - handle style of col's with spans. sr=kin, r=bernd 2002-09-15 03:45:10 +00:00