Commit Graph

279 Commits

Author SHA1 Message Date
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
martijn.martijn%gmail.com
98aed458b6 Bug 361808 - Print selection doesn't print selected text, backout from patch from bug 355395 2006-11-27 08:58:24 +00:00
martijn.martijn%gmail.com
e91b3352c9 Bug 355395 - Misspelled words in text areas cause all following text to disappear during print, r+sr=roc 2006-11-15 06:39:25 +00:00
roc+%cs.cmu.edu
e0c30c2eab Bug 331432. Move SVG-specific rule to svg.css, r+sr=bzbarsky 2006-06-12 04:27:10 +00:00
roc+%cs.cmu.edu
fe1409e73e Bug 331432. Split nsSVGForeignObjectFrame into a pure SVG frame containing an anonymous block child, to avoid state bit collisions and simplify things. Also fixes configure.in so that foreignObject is really enabled by default in cairo builds. r=tor,sr=bzbarsky 2006-06-06 23:13:15 +00:00
roc+%cs.cmu.edu
918bafa194 Bug 317375. Removing REVIEW: comment that was causing a warning in ua.css. comments only, no code affected 2006-01-26 22:53:00 +00:00
roc+%cs.cmu.edu
77bca74243 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
roc+%cs.cmu.edu
301b411013 Bug 290752. Don't create unnecessary level of style contexts for scrolled frames. r+sr=bzbarsky,a=asa 2005-04-28 22:14:16 +00:00
bzbarsky%mit.edu
30c41a6580 Removing -moz-page-break display value, since it's not needed. Bug 289975,
r+sr+a=dbaron
2005-04-22 15:31:44 +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
c0a59befc5 Convert internal users of -moz-opacity to just use opacity. Bug 281907, patch
by Anne van Kesteren <bug@annevankesteren.nl>, r+sr=bzbarsky
2005-02-18 16:33:02 +00:00
roc+%cs.cmu.edu
465537e4b9 Bug 277420. Use ConstructBlock when creating scrolled and absolutely positioned blocks. Removes copied code and makes columns work in such situations. r+sr=bzbarsky 2005-02-08 02:15:26 +00:00
roc+%cs.cmu.edu
429650eef3 Bug 277355. Make columns get the right containing block width and height. r+sr=bzbarsky 2005-02-01 01:21:25 +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
smontagu%smontagu.org
33a7df720e Make form controls, scroll boxes and columns inherit "unicode-bidi" correctly. Also force file inputs to have left-to-right directionality. Bug 267459, r=dbaron, sr=bzbarsky. 2004-11-23 09:42:23 +00:00
roc+%cs.cmu.edu
c237520c89 Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron 2004-10-08 12:17:10 +00:00
smontagu%smontagu.org
e1cc6b919a Bug 140611: When a block element is first in RTL <LI>, bullet moves left. patch by Lina Kemmel lkemmel@il.ibm.com, r=smontagu, sr=dbaron. 2004-06-20 09:51:10 +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
b4a859050c Give an initial value for the 'quotes' property in the UA stylesheet. b=24861 r+sr=bzbarsky 2004-04-14 20:13:44 +00:00
dbaron%dbaron.org
d1078e6485 Replaced elements should not support generated content. b=169334 r+sr=bzbarsky 2004-02-19 18:04:15 +00:00
bmlk%gmx.de
a7b7022a68 remove old hack that breaks table abs. positioning, bug 145572 r/sr=dbaron 2003-12-19 19:19:52 +00:00
bzbarsky%mit.edu
7e19a9767b Add pref for the default :active styling. Bug 142163, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
2003-10-15 01:56:12 +00:00
uid502
7eecd9a0ef Bug 165149. Make children of a scrolled element inherit style directly from the element instead of via the scrolled frames. Add a new view property to indicate that the view is painted on a uniform background and use it to optimize scrolling, so that a scrolled element with a uniform background color can still be scrolled using bitblits. r+sr=dbaron 2003-10-11 12:00:05 +00:00
dbaron%dbaron.org
3e6e65d074 Allow list numbering to work on elements with 'overflow'. b=219716 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky 2003-09-22 22:07:48 +00:00
bsmedberg%covad.net
0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
bzbarsky%mit.edu
fbbd9fb60e This line should not have snuck in. 2003-07-07 22:03:32 +00:00
bzbarsky%mit.edu
b2ba25b6fd Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
bmlk%gmx.de
7baca1626f anonymous table cell frames should not have a default padding, td and th padding defaults are set in html.css, bug 72359, patch proposed by hixie some time ago (2001-06-21) r=bernd sr=dbaron 2003-05-31 09:16:23 +00:00
roc+%cs.cmu.edu
f5b886b9cd Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa 2003-05-22 01:46:13 +00:00
mkaply%us.ibm.com
7f01690eb2 No bug
r/sr=dbaron
use -moz-fixed instead of Courier for XML error messages so they are always fixed regardless of prefs
2003-04-10 19:01:47 +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
heikki%netscape.com
bf57164cba Bug 129608, moving XML parsererror into its own namespace along with the CSS rules so it won't mess up with web pages using parsererror and sourcetext tags. Clean up the content tree before parser error. Also removing dead files. r=harishd, sr=jst, a=roc+moz@cs.cmu.edu. 2002-03-12 22:17:18 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
rbs%maths.uq.edu.au
651dbbfef2 Fix bug 76567 (load viewsource.css on demand rather than at startup). Patch mostly by bzbarsky@mit.edu r=harishd,brendan sr=jst 2001-05-02 04:53:38 +00:00
rbs%maths.uq.edu.au
67e1cb2bbb Improve the speed of viewsource - Patch of Boris Zbarsky <bzbarsky@mit.edu> b=74486 r=rbs r=attinasi 2001-04-17 07:23:04 +00:00
pierre%netscape.com
3b93ffe848 bug 6625 et al: reconstruction of html.css, ua.css and quirks.css. Checked in for Ian Hickson (ianh@netscape.com). r=pierre a=buster 2000-09-21 10:20:23 +00:00
attinasi%netscape.com
c115636333 Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze 2000-06-02 21:45:06 +00:00
ben%netscape.com
0ed3a55393 forgot file 2000-05-29 04:36:15 +00:00
hyatt%netscape.com
bad7f6c45b No longer loading the global skin implicitly. 1999-12-05 05:13:55 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
hyatt%netscape.com
9e7252a4e6 Restructuring ua.css. 1999-10-01 21:57:32 +00:00
hyatt%netscape.com
0c1aef9920 Splitting xul.css into two files and making them load automatically at startup. R=danm@netscape.com 1999-10-01 20:49:07 +00:00
rods%netscape.com
66bfc13ac6 Completely changed the rules for the border and internal display for the combobox 1999-09-30 11:54:30 +00:00
peterl%netscape.com
959910c138 use 'collapse' instead of 'hidden' for comboboxes 1999-09-29 03:34:29 +00:00
kmcclusk%netscape.com
c2ce94007e Set select[input type=button] to have a 2px outset border instead of a 1px outset border.
This prevents reflows when the mouse is moved over the combo box dropdown button.
1999-09-21 22:04:35 +00:00
rods%netscape.com
b6d508aebe changed mulitple to mulitple 1999-09-21 19:34:53 +00:00
kipp%netscape.com
8d093e424a Put float-edge on UL/OL/MENU/DIR container and get rid of hack property 1999-09-17 00:58:07 +00:00
kipp%netscape.com
67aa380f16 Setup a magic margin for list items 1999-09-16 19:55:45 +00:00
rods%netscape.com
8925039ed2 removing display:block for the dummy frame for empty selects, this is for bug #13834
peter will be fixing the style system to really fix this.
1999-09-15 21:55:26 +00:00
rods%netscape.com
264dc1237a changing options to have min-height of 1em
changing selct to have nowrap white-space
1999-09-13 22:32:52 +00:00
pollmann%netscape.com
d2b192a16d Don't change the cursor to a pointer when over a disabled image input. 1999-09-13 22:25:45 +00:00
peterl%netscape.com
240256290a even better li bullet positioning 1999-09-11 18:20:30 +00:00
peterl%netscape.com
cd649c16bf fixed first boy child top margin better 1999-09-11 00:07:27 +00:00
peterl%netscape.com
08211a7951 better list style position
removed top margin from first body child
1999-09-10 23:31:15 +00:00
rods%netscape.com
b0233d1ada added generated content for option elements with label attrs 1999-09-10 22:53:09 +00:00
peterl%netscape.com
702aaf6524 tweaking margins on lists 1999-09-10 22:42:53 +00:00
peterl%netscape.com
c1fbee9392 fixed list style position rules to allow being overridden better 1999-09-10 21:56:03 +00:00
rods%netscape.com
d675fc86a1 changed a couple of select disable attributes 1999-09-09 14:14:20 +00:00
rods%netscape.com
d88c66a30a added rules for disabled options
changed nowrap to pre for processing of white space for options
1999-09-08 19:56:04 +00:00
pierre%netscape.com
9dab157a97 Fixed #6874 "Hover doesn't work for gfx-rendered buttons" 1999-09-04 00:15:43 +00:00
rods%netscape.com
330aa86411 added family and font size to type text and textarea 1999-09-03 14:35:17 +00:00
kipp%netscape.com
2489cbb7b8 Revised img linking/usemap rules as per suggestion in bug #8027 which fixes #8027 1999-09-01 20:58:59 +00:00
rods%netscape.com
e826861c50 option (dropdown) fonts now match the select 1999-08-31 14:22:56 +00:00
rods%netscape.com
88b7272f14 added box-sizing property for form control, now width/height refer to outside border and padding edge instead of content edge 1999-08-31 14:16:02 +00:00
kmcclusk%netscape.com
f52576ec61 bug #1222. Changed color for selected color for gfx-combobox options to match the
dark blue specified for gfx-listbox options.
1999-08-30 22:26:34 +00:00
kipp%netscape.com
8607e1fe21 Provide a small margin around tables and images here instead of hardcoding (bug #2119); make links red when active (bug #11230) 1999-08-27 21:51:46 +00:00
ducarroz%netscape.com
155d743008 Add rule for blockquote[type=cite] (use by messenger for display replied messages) 1999-08-27 21:11:55 +00:00
rods%netscape.com
f4f7d3591c Added rule for input type=image, it sets the border to a 2px solid blue 1999-08-26 14:50:47 +00:00
evaughan%netscape.com
a12f942778 xpscrollbars 1999-08-19 22:16:23 +00:00
rods%netscape.com
d7fc6e2d31 Added all the focus rules in one place so we can make then right, then we can distribute then through out the file to were each element is defined 1999-08-19 14:48:42 +00:00
pollmann%netscape.com
9e851343f5 Bug 10939: Make image input element transparent 1999-08-11 03:49:31 +00:00
kmcclusk%netscape.com
12f49894e4 Changed default label for submit buttons to Submit Query from (submit)
Changed default label for reset buttons to Reset from (reset)
1999-08-10 22:17:08 +00:00
rods%netscape.com
8f5b13ed87 Added "disabled" rules for form controls 1999-08-10 19:35:13 +00:00
kmcclusk%netscape.com
61e361b49e Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.
1999-08-10 19:13:57 +00:00
peterl%netscape.com
ce07abf873 cleaned up viewport pseudo elements 1999-08-08 01:23:22 +00:00
buster%netscape.com
9fc632198d added disabled style to text areas 1999-08-07 05:37:06 +00:00
rods%netscape.com
e5db62821d Added select:-moz-dummy-option 1999-08-06 14:43:46 +00:00
rods%netscape.com
3cfe429d81 Added generated content for optgroups, fixed option to be display:block
change optgroup inside of option
1999-07-28 21:43:43 +00:00
vidur%netscape.com
0ebbf485db Forms can now be container content. 1999-07-22 23:28:16 +00:00
kmcclusk%netscape.com
af9e15b5e3 nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.
1999-07-20 22:32:41 +00:00
kmcclusk%netscape.com
d42e178f95 fixed bugs #6303, #6753, #6756, #6759
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.
1999-07-14 22:00:24 +00:00
kipp%netscape.com
06163d8177 Tweaked nested dl handling; added counter-reset property for better list numbering handling 1999-07-14 17:31:17 +00:00
kmcclusk%netscape.com
a8794918c8 Modified gfx-rendered widget styles to more closely match styles
in http://www.mozilla.org/xpfe/nsGFXWidgets.html.
Added check for null mHitFrame in nsListControlFrame::MultipleSelection and
nsListControlFrame::SingleSelection.
1999-06-23 21:50:56 +00:00
peterl%netscape.com
0676d836b8 set display type for map to block 1999-06-22 19:20:42 +00:00
peterl%netscape.com
d160093ada use '-moz-fixed' font for pre hack instead of 'monospace' 1999-06-22 19:19:13 +00:00
kmcclusk%netscape.com
881c29d70e Numerous changes to support gfx-rendered form elements. 1999-06-21 20:41:56 +00:00
peterl%netscape.com
1327a9be5a added namespace definitions 1999-06-15 06:17:17 +00:00
buster%netscape.com
5cfe276237 added style for disabled text controls 1999-06-12 22:33:45 +00:00
pollmann%netscape.com
b43ee9f355 bug 2105: Textarea no longer inherits text color from parent. 1999-06-11 19:15:20 +00:00
pollmann%netscape.com
2500fadf60 bug 3720: <LABEL> background draws properly now. 1999-06-11 19:10:56 +00:00
karnaze%netscape.com
44a028be9f removed background rules for table elements 1999-06-07 21:19:05 +00:00
kmcclusk%netscape.com
b1ab2535df fixes for bugs #5809, #5852, #6828, #6973.
Added a new test16.html sample to test gfx-rendered widgets to viewer.
Added support for test17.html sample to test printing.
1999-05-27 21:17:10 +00:00
karnaze%netscape.com
ebeb68d601 support for css padding in table cells 1999-05-18 05:18:16 +00:00
kmcclusk%netscape.com
d86150286d bug #994 Major rework of nsListboxControlFrame to support option groups. Modified ua.css
optgroup > option rule to use padding to offset the option group's options.
1999-05-17 22:36:08 +00:00
evaughan%netscape.com
bf31c42dde Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses. 1999-05-13 01:35:16 +00:00
kmcclusk%netscape.com
e18026d96e bug #3547- Modified nsFileControlFrame.cpp to call nsFormFrame::AddFormControlFrame.
bug #5589. Selection area is now calculated using the inherited Reflow rather
than using the calculations used for the native listbox control.
Fixed varous other rendering bugs related to frame-based listboxes.
bug #2797. GetSize is no longer needed in nsListControlFrame and it has been removed.
Fixed frame-based combobox nsComboboxFrame so that will set it's label to the
first option in the drop-down list if a default value has not been specified.
Added optgroup style rules to ua.css. Opt groups now render, but there are remaining
problems with selection.
Modified nsButtonControlFrame::Reflow to call nsFormFrame::AddFormControlFrame.
This fixes a bug where Gfx-rendered submit button's were not working.
Refactored code in nsListControlFrame in preparation for supporting option groups.
Refactored selection code into SingleSelect and MultiSelect paths.
Removed unused code in nsListControlFrame.
Removed mSelectedFrame member variable. It is no longer needed.
Fixed nsListControlFrame::SetProperty so that it will toggle the selection in a
single select listbox.
1999-05-07 20:30:16 +00:00
kipp%netscape.com
a94af7d585 Make hidden form elements invisible 1999-05-03 20:49:06 +00:00
peterl%netscape.com
5b688114ed fixed image link border colors 1999-04-28 00:54:49 +00:00
kipp%netscape.com
a929243c2d Added :-moz-letter-frame 1999-04-27 22:14:06 +00:00