Web Inspector: [CodeMirror] do not show cursor in read-only mode
https://bugs.webkit.org/show_bug.cgi?id=113793

Patch by Andrey Lushnikov <lushnikov@chromium.org> on 2013-04-02
Reviewed by Alexander Pavlov.

No new tests.

Pass "nocursor" option to CodeMirror's "readonly" setting.

* inspector/front-end/CodeMirrorTextEditor.js:
(WebInspector.CodeMirrorTextEditor.prototype.setReadOnly):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
When computing the percentage of the logical height, use the logical top and bottom
https://bugs.webkit.org/show_bug.cgi?id=113761

Reviewed by Ojan Vafai.

Source/WebCore:

Test: fast/writing-mode/percentage-height-orthogonal-writing-modes.html

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computePercentageLogicalHeight):

LayoutTests:

* fast/writing-mode/percentage-height-orthogonal-writing-modes-expected.txt:
* fast/writing-mode/percentage-height-orthogonal-writing-modes.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Check whether popups are allowed before creating a new window
https://bugs.webkit.org/show_bug.cgi?id=113782

Reviewed by Adam Barth.

Source/WebCore:

Otherwise, firing a generated mouse event at an anchor is enough to
work around the popup blocker.

Test: fast/loader/url-selected-user-gesture.html

* loader/PolicyChecker.cpp:
(WebCore::PolicyChecker::checkNewWindowPolicy):

LayoutTests:

* fast/loader/url-selected-user-gesture-expected.txt: Added.
* fast/loader/url-selected-user-gesture.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147454 268f45cc-cd09-0410-ab3c-d52691b4dbfc