Originally reported at: http://code.google.com/p/chromium/issues/detail?id=64511 'max-width: none' should have no effect because it is the initial state. For now, if style="max-width:none" is set to an element, it outer with is restricted to the with of the closest parent, which have width settings. See the attached test case that the original reporter provided.
Created attachment 81153 [details] testcase
See also bug 26809.
Created attachment 81162 [details] Patch
Hi Alexander, (In reply to comment #2) > See also bug 26809. Thank you for letting me the bug. I think the patch I just sent will fix the bug 26809, too. Regards,
No problem. Thanks for providing a patch! Feel free to close the other bug if this solves it.
Hi hyatt, Could you review this patch if you have time? Thanks in advance,
Comment on attachment 81162 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=81162&action=review Nice catch! r=me For reference, max-height used to have the same problem, this was fixed in <http://trac.webkit.org/changeset/13462> > Source/WebCore/ChangeLog:13 > + (WebCore::CSSStyleSelector::applyProperty): Set length to be undefined. This comment is more unspecific than helpful.
Created attachment 82284 [details] Patch V1
Comment on attachment 81162 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=81162&action=review Hi Andreas, Thank you very much for review and your comments. I updated the patch. Could someone cq+? >> Source/WebCore/ChangeLog:13 >> + (WebCore::CSSStyleSelector::applyProperty): Set length to be undefined. > > This comment is more unspecific than helpful. Revised.
Comment on attachment 81162 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=81162&action=review Hi Andreas, Thank you very much for review and your comments. I updated the patch. Could someone cq+? >>> Source/WebCore/ChangeLog:13 >>> + (WebCore::CSSStyleSelector::applyProperty): Set length to be undefined. >> >> This comment is more unspecific than helpful. > > Revised. Revised.
Comment on attachment 82284 [details] Patch V1 Clearing flags on attachment: 82284 Committed r78469: <http://trac.webkit.org/changeset/78469>
All reviewed patches have been landed. Closing bug.