Commit 5de7095d authored by darin's avatar darin

Reviewed by Trey and Don.

	- fixed 3132160 -- meta refresh does not work if there's a space after the refresh interval value

        * khtml/xml/dom_docimpl.cpp: (DocumentImpl::processHttpEquiv):
	Added a call to stripWhiteSpace here. The other places that processes delays for
	meta refresh already had the stripWhiteSpace call, but this was missing it.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent dc56b2e8
2002-12-20 Darin Adler <darin@apple.com>
Reviewed by Trey and Don.
- fixed 3132160 -- meta refresh does not work if there's a space after the refresh interval value
* khtml/xml/dom_docimpl.cpp: (DocumentImpl::processHttpEquiv):
Added a call to stripWhiteSpace here. The other places that processes delays for
meta refresh already had the stripWhiteSpace call, but this was missing it.
2002-12-20 David Hyatt <hyatt@apple.com>
Fix for 3134163, a regression from the reduction of
......
2002-12-20 Darin Adler <darin@apple.com>
Reviewed by Trey and Don.
- fixed 3132160 -- meta refresh does not work if there's a space after the refresh interval value
* khtml/xml/dom_docimpl.cpp: (DocumentImpl::processHttpEquiv):
Added a call to stripWhiteSpace here. The other places that processes delays for
meta refresh already had the stripWhiteSpace call, but this was missing it.
2002-12-20 David Hyatt <hyatt@apple.com>
Fix for 3134163, a regression from the reduction of
......
......@@ -1469,7 +1469,7 @@ void DocumentImpl::processHttpEquiv(const DOMString &equiv, const DOMString &con
bool ok = false;
DOMStringImpl* s = content.implementation()->substring(0, pos);
delay = QConstString(s->s, s->l).string().toDouble(&ok);
delay = QConstString(s->s, s->l).string().stripWhiteSpace().toDouble(&ok);
delete s;
pos++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment