diff --git a/khtml/ChangeLog b/khtml/ChangeLog index 4e56fb2be1..e7feb903a1 100644 --- a/khtml/ChangeLog +++ b/khtml/ChangeLog @@ -1,2513 +1,2520 @@ +2004-12-29 Allan Sandfeld Jensen + + Add :enabled and :disabled pseudo-classes + + * css/css_base.{h,cpp}: Parse new pseudoclases + * css/cssstyleselector.cpp: Implement new selectors + 2004-12-08 Allan Sandfeld Jensen Merge encoding detection from WebCore * misc/decoder.{h,cpp}: Detect XML-encoding, comments in headers and other merges * khtml_part.cpp: Frames inherits parents encoding as their default 2004-12-08 Allan Sandfeld Jensen Merge :target pseudo-class from WebCore * css/cssstyleselector.cpp: Uncomment :target handling * xml/dom_docimpl.{h,cpp}: Add (set)cssTarget. * khtml_part.cpp: Call setCssTarget on anchors 2004-12-07 Allan Sandfeld Jensen Implement/merge CSS2-3 text-shadow property * css/*: Merge values and parsing from WebCore * render/render_style.{h,cpp}: Merge CSS3Inherited and ShadowData classes * render/render_text.{h,cpp}: Implement new paintShadow function 2004-12-06 Allan Sandfeld Jensen * rendering/bidi.cpp: Layout arabic numbers with a separator correctly. 2004-12-02 Allan Sandfeld Jensen Implement remaining CSS2 list-style-types and a few CSS3 * rendering/render_list.cpp: New algorithms for hiragana, katakana, armenian, georgian and decimal-leading-zero. Also fix greek and latin list-styles for larger values. * css/cssvalues.cpp: Parse box, -khtml-diamond, -khtml-arabic-indic, -khtml-persian, -khtml-urdu and -khtml-upper-greek * rendering/render_style.h: Expand list-style enum 2004-11-30 Germain Garand * css/cssstyleselector.{cpp,h}: fontSizes array now uses a QValueVector; made "font-size: smaller/bigger" follow the standard font scale when possible. * css/html4.css: made / use font-size: bigger/smaller (#82657) 2004-11-29 Allan Sandfeld Jensen * css/cssstyleselector.cpp: Handle :lang selector 2004-11-27 Germain Garand merge WebCore differences in logic for Auto table layout * rendering/table_layout.cpp (calcEffectiveWidth/layout): distribute remaining width starting with fixed rather than percent (#88104). 2004-11-26 Germain Garand merge zero deep-copy TokenizerString class from WebCore * html/htmltokenizer.{cpp,h} * misc/stringit.{cpp,h} * xml/xml_tokenizer.{cpp,h} 2004-11-23 Allan Sandfeld Jensen Implement the structual pseudo-selectors of CSS3. * css/tokenizer.flex: Add nth and NOTFUNCTION tokens. The later because the not-function is unique in its parsing. * css/tokenizer.cpp: Manually merge output from flex :( * css/parser.y: Update parsing of pseudo-functions. Also enables correct parsing of :lang and :contains. * css/css_base.{h,cpp}: Add new pseudoselectors * css/cssstyleselector.cpp: Implement new selectors 2004-11-22 Germain Garand * rendering/bidi.cpp (layoutInlineChildren): for elements with some kind of scrolling overflow and a variable height, include the scrollbar height in calculations to avoid masking content (#89136). * rendering/render_block.cpp (layoutBlock/layoutBlockChildren): ditto. * rendering/render_box.cpp (contentWidth/contentHeight): subtract scrollbars height/width when applicable. 2004-11-22 Allan Sandfeld Jensen Implement CSS border on form-widgets * css/cssvalues.in: Add -khtml-native * css/cssparser.cpp: Accept -khtml-native as a border-type * css/cssstyleselector.cpp: BNATIVE and not BNONE is now lowest border-style * css/html4.css: Make -khtml-native default border-style for form-widgets * render/render_style.h: Add BNATIVE * render/render_object.cpp: Treat BNATIVE like BNONE * render/render_replaced.cpp: Remove native, and paint CSS border when allowed 2004-11-21 Germain Garand float and flowAroundFloat fixes. * css/html4.css: make fieldset -khtml-around-floats (#92979) * rendering/render_block.cpp (layoutBlockChildren): cleanup float/flowAroundFloats logic. Merges: add better RTL layouting of fAFs. (lineWidth): guard against negative values (clearFloats): don't copy floats if element defines a new block formatting context (#93511) (markAllDescendantsWithFloatsForLayout): add missing argument to recursive call (getClearDelta): merge (InlineMinMaxIterator::next): exclude positioned elements (calcInlineMinMaxWidth): merge float clearing adjustments (calcBlockMinMaxWidth): ditto * rendering/render_box.cpp (calcWidth): use containingBlockWidth * rendering/render_object.cpp (isHR): new. Evil but useful for quirkmode (cf. usesLineWidth). (flowAroundFloats): add replaced and overflowClip elements (usesLineWidth): adapt to above. * rendering/render_table.cpp (calcWidth): style()->flowAroundFloats => flowAroundFloats() 2004-11-19 Stephan Kulow * rendering/render_form.cpp (updateFromElement): restore scrolling position in case of a change in text and do not trigger the update code more often than necessary 2004-11-17 Allan Sandfeld Jensen * render/render_table.{h,cpp}: Improve distribution of excess height 2004-11-17 Allan Sandfeld Jensen * render/render_table.cpp: Respect margins when calculating width to be distributed. 2004-11-16 Germain Garand * rendering/render_replaced.{cpp,h} (cancelPendingResize): allow canceling of scheduled widget resizes, to avoid flicker when we had to perform temporary layouts. * rendering/render_table.cpp (calcRowHeight): displace resetting layout of cells with percent children here and mark those dirty, or we might get zero-height widgets on resize (cf. map24.com) (layout): ditto. (layoutRows): cancel widget resizes from temporary layouts. 2004-11-16 Stephan Kulow * rendering/break_lines.cpp (khtml): adding patch by Otto Pattara to support libthai for correct line breaks 2004-11-15 Allan Sandfeld Jensen Fix odd spacing in gmail-composer and zeg-shop.de * render/render_box.h: Change auxillary box-size functions to protected * render/render_table.cpp: Calculate percentage heights based on containing box rather than viewport, by merging code with renderBox. 2004-11-09 Germain Garand fix globeandmail.com famlily of crashes (#65715) * rendering/render_box.cpp (createAnonymousBlock): moved from RenderFlow (restructureParentFlow): check soundness of parent's flow structure with regard to the child's new display. Adapted from WebCore. (setStyle): check parent if floats or positioned objects become in-flow and thus affects flow structure. * rendering/render_flow.cpp (createAnonymousBlock): moved. * rendering/render_inline.cpp (splitInlines): use addChildToFlow rather than appendChildNode * rendering/render_line.cpp: display COMPACT cleanups * rendering/render_object.cpp: ditto. 2004-11-06 Allan Sandfeld Jensen Implement CSS3 property box-sizing to match MacIE, Opera and Mozilla * css/css*.in: Add new property and primitive values * css/cssparser.cpp: Detect content-box and border-box as primitives * css/cssstyleselector.cpp: Parse box-sizing * render/render_style.h: Add box-sizing to non-inherited values * render/render_box.cpp: Consult box-sizing before adding padding and border to width and height 2004-11-05 Germain Garand * khtml_part.cpp (closeURL/slotData/restoreState): avoid triggering full repaints of the view before the first layout is done. 2004-11-05 Germain Garand * css/cssstyleselector.cpp (computeFontSizes): add compensated font scale from Todd Fahrner's "Toward a standard font size interval system" article for 12ppem and below (suggested by Bert Bos ) 2004-11-04 Stephan Kulow * rendering/bidi.cpp (bidiReorderLine): applying patch by Mitz Pettel to fix neutral types at beginning of context 2004-11-03 Germain Garand * khtmlview.cpp (slotScrollBarMoved): make sure we are layouted before scrolling if we are still loading (#51473) 2004-11-02 Stephan Kulow * rendering/render_replaced.cpp (setStyle): set hidden widgets to invisible * xml/dom_docimpl.cpp (recalcStyleSelector): avoid invalid casts on XML documents 2004-11-02 Germain Garand * css/cssstyleselector.cpp (adjustRenderStyle): ignore relative positioning on table sections. CSS 2.1 does not define that, but it is a consensus amongst all major browsers. 2004-11-01 Sandro Giessl * rendering/render_replaced.cpp (copyWidget): don't fill the background of QFrames. they paint their own background now 2004-10-30 Stephan Kulow * html/html_formimpl.cpp (parseAttribute): ignore height element for input elements that are not image 2004-10-28 Stephan Kulow * html/html_documentimpl.cpp (determineParseMode): adding a fixed list of doctypes to enable quirks mode on (derived from Webcore, but majorly revised) * enable strict CSS parsing also for transitional doctypes 2004-10-27 Germain Garand make font-sizes CSS2.1 compliant. * css/cssstyleselector.cpp (computeFontSizes): use standard ratios from CSS 2.1 15.7. (applyRule): don't apply zoom factor to ems/exs relative values (#91228). * css/html4.css: Hx elements - margin ratios are now 1.1/corresponding ratio. Switch to absolute sizes from CSS 2.1 15.7 2004-10-27 Stephan Kulow * css/cssstyleselector.cpp (checkOneSelector): match exact matches case sensitive only in XHTML - HTML attributes are all case insensitive 2004-10-26 Stephan Kulow * html/html_elementimpl.cpp (addCSSProperty): don't add all css properties in lower case but select those those where it matters 2004-10-26 Allan Sandfeld Jensen * rendering/bidi.{h,cpp}: Merge bidi-changes from WebCore 2004-10-26 David Faure * khtml_part.cpp (urlSelected): Only call recursiveFrameRequest if target is different from _self, _top, _blank and _parent. See tests/frames/target/*. 2004-10-25 David Faure * khtml_part.cpp (processObjectRequest): connect to completed(bool) for too, to avoid a never-ending-spinning-wheel on the following testcase 2004-10-25 Stephan Kulow * html/html_elementimpl.cpp (addCSSProperty): add css properties parsed from attributes as lower case 2004-10-25 George Staikos * rendering/render_image.cpp: Pass through the CachedObject so we can use the suggested filename possibly provided by the HTTP headers. * khtml_ext.cpp: Make use of the suggested filename for images. 2004-10-24 David Faure * html/html_formimpl.cpp (value): Fixed m_value vs ATTR_VALUE problem which didn't allow sending mail on gmail.google.com. Testcases: forms/form_setattribute.html, mozilla/dom/dom-html/{hfor009.html,hinp017.html} 2004-10-22 Stephan Kulow * ecma/kjs_window.cpp (tryCall): merging handling of event handlers * css/cssparser.cpp (parseValue): implementing CSS 2.1 compliant parsing of background-position (#91572) 2004-10-21 Allan Sandfeld Jensen Implement limited DHTML capabilities to the layer implementation * html/html_miscimpl.{h,cpp}: Extract collection of all layers * dom/html_block.{h,cpp}: Add layer DOM * dom/html_document.{h,cpp}: Add .layers to document DOM * ecma/kjs_html.{h,cpp}: Add layer DHTML and allow layers to be found by ID * ecma/kjs_window.cpp: Allow layers to be found by ID 2004-10-19 Allan Sandfeld Jensen * rendering/render_box.{h,cpp}: Merge min,max-height fixes 2004-10-19 Germain Garand finish merge of static position for positioned objects * css/cssstyleselector.cpp (adjustRenderStyle): remember our original display * rendering/bidi.cpp (appendRun): include positioned objects with static X/Y, now that we use those. (findNextLineBreak): adjust static position * rendering/render_block.cpp (layoutBlockChildren): ditto. * rendering/render_box.cpp (containingBlockWidth): use usesLineWidth (position): activate static position logic (calcAbsoluteHorizontal): replace static position calculation (calcAbsoluteVertical): ditto. * rendering/render_object.cpp (removeChild): fix typo (usesLineWidth): merge usesLineWidth from WebCore * rendering/render_style.h (NonInheritedFlags::): originalDisplay member (setBitDefaults): initialize the above (originalDisplay/setOriginalDisplay): accessors (isDisplayReplacedType/isDisplayInlineType/isOriginalDisplayInlineType): helpers 2004-10-18 Allan Sandfeld Jensen * rendering/render_table.cpp: Merge layout fixes from Webcore 2004-10-17 Stephan Kulow * ecma/kjs_dom.cpp: adding patch by Richard Lärkäng to support IE extension insertAdjacentHTML (#33968) 2004-10-16 Allan Sandfeld Jensen * html/html_formimpl.cpp: Escape otherwise unencodable characters. Matches the behavior of Gecko. 2004-10-15 Stephan Kulow * rendering/render_form.cpp (updateFromElement): don't set assume