Summary: | CSS error: white space property ignored | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Jonathan Ingram <jonathan_ingram> |
Component: | khtml renderer | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amitshah, arnt, Daniel, des, eric, greg_g, jim, joerg, missive, netdragon, p.varet, roger.larsson, webmaster, zander |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Jonathan Ingram
2001-05-29 00:43:31 UTC
Still a problem in 3.1-rc3 We need to change the parser to not remove white space to fix this. *** Bug 55957 has been marked as a duplicate of this bug. *** Still present in 3.1.2. This was not correctly rendert in KDE cvs-Version. Here is another side for testing that option for css2: http://www.meyerweb.com/eric/css/tests/css2/sec16-06.htm Sven As of KDE 3.1.4: - normal works - nowrap works - pre does not work As to changing the parser: It works for the standard <pre>-tag, so the functionality is there? *** Bug 70484 has been marked as a duplicate of this bug. *** *** Bug 73038 has been marked as a duplicate of this bug. *** *** Bug 76675 has been marked as a duplicate of this bug. *** In KDE 3.2.2 there is still no support the "white-space:pre" css-attribut in normal elements. When will there be any channges? I've seen a working functionality for this in Safari. Is it a problem to use this Safari-functionality in Konqueror? obviously? *** Bug 82273 has been marked as a duplicate of this bug. *** *** Bug 82583 has been marked as a duplicate of this bug. *** *** Bug 82906 has been marked as a duplicate of this bug. *** *** Bug 84280 has been marked as a duplicate of this bug. *** *** Bug 82906 has been marked as a duplicate of this bug. *** This bug makes Konqueror very difficult to use when working with Gentoo's bugzilla. I'll probably have to keep firefox around just for that site ... Please fix this. You'll make your users happy! ;) Ahrg. 3.3 and still no white-space:pre support. white-space: pre-wrap; is part of the CSS3 standard. I'm mostly concerned with white-space: pre, but regardless, both "pre" and "pre-wrap" are contained in the CSS2 standard. See: http://www.w3.org/TR/CSS21/text.html#white-space-prop At ths point, I believe web-develoepers will use the following and will ignore that Konqueror cannot handle it: pre { white-space: -moz-pre-wrap; /* Mozilla, supported since 1999 */ white-space: -pre-wrap; /* Opera 4 - 6 */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: pre-wrap; /* CSS3 - Text module (Candidate Recommendation) http://www.w3.org/TR/css3-text/#white-space */ word-wrap: break-word; /* IE 5.5+ */ } *** Bug 94756 has been marked as a duplicate of this bug. *** CVS commit by carewolf: Implement CSS 2.1 white-space: pre, pre-wrap and pre-line FEATURE: 26326 Note: Compared to the patch send to kfm-devel and the WebCore implementation this one handles linefeed cleaning in render_text.cpp. This is much more efficient and simplifies code in bidi.cpp. M +14 -0 ChangeLog 1.361 M +3 -1 css/cssparser.cpp 1.307 M +6 -0 css/cssstyleselector.cpp 1.339 M +120 -114 css/cssvalues.c 1.51 M +61 -59 css/cssvalues.h 1.45 M +9 -3 css/cssvalues.in 1.43 M +20 -13 html/htmlparser.cpp 1.354 M +32 -40 html/htmltokenizer.cpp 1.293 M +25 -26 rendering/bidi.cpp 1.205 M +1 -1 rendering/render_layer.h 1.24 M +24 -6 rendering/render_style.h 1.114 M +66 -7 rendering/render_text.cpp 1.260 |