1245 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
158d100ab1 Fix MathML build (patch also pointed out by mielke@licel.com). r=sfraser@netscape.com a=leaf@mozilla.org Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@70076 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 19:29:44 +00:00
mjudge%netscape.com
24fcf27eea textareas are also special cases where some data is added in create anonymous frames
git-svn-id: svn://10.0.0.236/trunk@69962 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:40:02 +00:00
shaver%mozilla.org
f792546214 Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.


git-svn-id: svn://10.0.0.236/trunk@69948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:43:33 +00:00
attinasi%netscape.com
32ce610d53 Added support for simple xlinks: we now treat simple xlinks like links for styling. b=38026 r=dbaron
git-svn-id: svn://10.0.0.236/trunk@69891 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:30:27 +00:00
sfraser%netscape.com
5cee9b1889 Make XBL work for HTML elements. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@69833 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:25:02 +00:00
dcone%netscape.com
2cdb288556 Fixed double drawing lines for buttons
git-svn-id: svn://10.0.0.236/trunk@69743 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:55:49 +00:00
jst%netscape.com
757b271c1a More WIP on getComputedStyle(), not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@69718 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:59:05 +00:00
jst%netscape.com
04bccbd8fa Adding a very primitive readonly implementation of CSSPrimitiveValue. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@69717 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:58:26 +00:00
scc%netscape.com
ebeba6679b string fixes
git-svn-id: svn://10.0.0.236/trunk@69692 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:06:18 +00:00
jst%netscape.com
f37851bcbd In stead of throwing an exception when the user asks for the owner rule of style sheet we return null.
git-svn-id: svn://10.0.0.236/trunk@69568 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 18:10:24 +00:00
scc%netscape.com
8d5a50fb63 string backsliding. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@69402 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 07:53:02 +00:00
bryner%uiuc.edu
a626fea704 New and improved background tiling code for GTK. We take an offset into
the image as a parameter so we avoid drawing the whole tile if it's not
all needed.  Also, we can avoid setting any clip regions at all this
way, and avoid trips to the X server.  Fixes several background rendering
problems.  Also fix a signedness problem in the compositing code
(r=tor).  r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@69388 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:29:37 +00:00
dcone%netscape.com
7a169e33e0 Fixed the curve drawing to use floating point.. corrects rounding problems
git-svn-id: svn://10.0.0.236/trunk@69163 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:59:43 +00:00
attinasi%netscape.com
d41a6d8cd5 Fixed problem where continuation frames were repeating the background image even when no-repeat was set. b=38764 r=buster
git-svn-id: svn://10.0.0.236/trunk@69093 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:24:08 +00:00
jst%netscape.com
0f0b4d6367 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
attinasi%netscape.com
ce0f6c5fd1 Put back in the code to propagate the background to the canvas frame at frame construction time. b=38744
git-svn-id: svn://10.0.0.236/trunk@68980 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 03:31:43 +00:00
hyatt%netscape.com
c29836f8bc XBL now works with HTML, XUL, SVG, MathML, and XML!
git-svn-id: svn://10.0.0.236/trunk@68891 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:42:40 +00:00
buster%netscape.com
4fb9226391 effectively removed area frame
work troy was holding in his tree
r=buster


git-svn-id: svn://10.0.0.236/trunk@68808 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:11:12 +00:00
attinasi%netscape.com
fed40883d0 Fixed a problem where background images on the BODY were not getting painted properly the first time they were loaded. b=36811 r=kmcklusk@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68768 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:53:51 +00:00
michael.lowe%bigfoot.com
89eff2adf7 Implement CSS3 cursors on Windows
git-svn-id: svn://10.0.0.236/trunk@68568 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 05:14:43 +00:00
attinasi%netscape.com
c26c81dc23 Added a check in AttributeChanged to notify the canvas frame when the background image or color changes. This causes the entire canvas to be invalidate and thus painted. Also removed code that was propagating the background up to the canvas frame; it was not needed and was insufficient as it did not handle the case where the DOM set the background, nor did it handle the background being cleared from the BODY. b=11491,37502
git-svn-id: svn://10.0.0.236/trunk@68508 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 06:04:08 +00:00
attinasi%netscape.com
f89065c311 Tables now inherit backgrond color and image into the cells and allow them to paint instead in quirks mode (the way it originally was). b=34838
git-svn-id: svn://10.0.0.236/trunk@68259 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:41:02 +00:00
attinasi%netscape.com
921df5eb29 Change to disallow underscore character in identifiers, as required in the CSS2 spec. Fix contributed by VYV03354@nifty.ne.jp, r=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68257 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:36:49 +00:00
karnaze%netscape.com
5823c8dc5f bug 34538 - allow more types of non table content inside table content get frames.
git-svn-id: svn://10.0.0.236/trunk@68240 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:53:59 +00:00
jst%netscape.com
b15a5bb348 New files needed for getComputedStyle(). Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@68182 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:07:33 +00:00
attinasi%netscape.com
5f1b41704f Applied patch from VYV03354@nifty.ne.jp to make class names specified in non-ASCII characters recognizable as parts of selectors. b=38038,35800.
git-svn-id: svn://10.0.0.236/trunk@68153 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:12:58 +00:00
jst%netscape.com
09a726c20d WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre.
git-svn-id: svn://10.0.0.236/trunk@68135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:42:00 +00:00
waterson%netscape.com
235aa7a8f3 Bug 37853. Add MOZ_COUNT_[C|D]TOR calls to the objects allocated from nsCSSDeclaration. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@68116 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:21:30 +00:00
mjudge%netscape.com
83062e04ad r=hyatt. just because we have an XBL keybinding does not mean that we are generating content from XBL. if we have no children generated, then ask the frame to construct anonymous content
git-svn-id: svn://10.0.0.236/trunk@68055 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 06:17:49 +00:00
mkaply%us.ibm.com
de7be3a9e5 # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@67947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:07:11 +00:00
rods%netscape.com
191a691de3 adding back in changes that got removed with the checkin 1.425
git-svn-id: svn://10.0.0.236/trunk@67901 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 14:34:24 +00:00
jst%netscape.com
f59ae4bac2 The string returned from CSSStyleDeclaration::removeProperty() should only contain the old value, not the property name.
git-svn-id: svn://10.0.0.236/trunk@67801 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:24:45 +00:00
jst%netscape.com
ca090e77c3 Fix for bug #30492 and last part of #9876. Setting a style property to an empty string through the DOM now removes the property.
git-svn-id: svn://10.0.0.236/trunk@67782 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:59:54 +00:00
karnaze%netscape.com
47f205f65f new reflow/layout code for outer table to handle captions and margins. better % height handling.
row groups and rows don't include external cellspacing in there dimensions. r=troy.


git-svn-id: svn://10.0.0.236/trunk@67566 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:05:31 +00:00
pierre%netscape.com
8be7e09c16 35261. Implement :last-node (P and Hx tags inside a cell do not collapse the cell). Change TD to collapse the bottom margin on the last-node.
git-svn-id: svn://10.0.0.236/trunk@67510 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:02:12 +00:00
pierre%netscape.com
cdcf7d8bca 9876. Implemented CSSStyleDeclaration removeProperty. r=jst.
git-svn-id: svn://10.0.0.236/trunk@67505 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 08:35:40 +00:00
scc%netscape.com
62b1c05b32 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67407 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:38:50 +00:00
hyatt%netscape.com
494757a73f XBL Change
git-svn-id: svn://10.0.0.236/trunk@67362 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 02:11:41 +00:00
attinasi%netscape.com
d5aa4c73cb Fixed recent regression: DidLoadStyle was not being called if the status was failure, causing the parser to remain blocked forever. b=27208
git-svn-id: svn://10.0.0.236/trunk@67349 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:51:06 +00:00
dbaron%fas.harvard.edu
6b88c55779 Fix bugs 12398, 12450, and 35215, and comment out some unused code. r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67336 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:12:25 +00:00
dbaron%fas.harvard.edu
c266c49303 Fix bug 37082 - attribute selector matching for ~= and |= backwards. r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67335 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:07:12 +00:00
attinasi%netscape.com
f0e756bc78 Eliminated a wasteful duplication of a string. Should reduce bloat substantially. r=pierre
git-svn-id: svn://10.0.0.236/trunk@67320 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:36:45 +00:00
jst%netscape.com
3a55dd1f0f Initialize mRefCnt in the constructor, duh!
git-svn-id: svn://10.0.0.236/trunk@67318 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:24:30 +00:00
jst%netscape.com
9b4ef67be1 Fix crash when modifying a stylesheet through the DOM before the document is displayed.
git-svn-id: svn://10.0.0.236/trunk@67315 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:22:06 +00:00
jst%netscape.com
e7caf2b7ff Landing DOM Level 2 CSS and Views interfaces and implementation.
git-svn-id: svn://10.0.0.236/trunk@67227 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 13:58:56 +00:00
mjudge%netscape.com
3cd9a051da making string conversions explicit. scc
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +00:00
evaughan%netscape.com
ff486e57f1 1) StyleChange coelescing
2) Warning fixes
3) Table fixes


git-svn-id: svn://10.0.0.236/trunk@67099 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 07:10:48 +00:00
troy%netscape.com
2831676fb5 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem


git-svn-id: svn://10.0.0.236/trunk@67078 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:43:11 +00:00
putterman%netscape.com
8237a54fdd Backing out troy's changes to fix various UI blocker bugs.
git-svn-id: svn://10.0.0.236/trunk@67000 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:21:56 +00:00
dcone%netscape.com
738deb408a Put in the Tiling call from the RenderingContextImpl.
git-svn-id: svn://10.0.0.236/trunk@66956 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:36:05 +00:00