DescriptionMake TreeScope::baseURL pure virtual
This allows completeURL and baseURL work correctly when called on a ShadowRoot.
They should fall back to the ShadowRoot's Document's baseURL unless the ShadowRoot
itself has a baseURL specified.
Since no code in Blink yet calls either on a ShadowRoot, there's no
test I can write that triggers this, but once we start calling
treeScope().completeURL() this will be well-tested.
R=esprehn@chromium.org
BUG=311682
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165025
Patch Set 1 #
Total comments: 2
Patch Set 2 : Handle fallback in baseURL #
Total comments: 1
Patch Set 3 : Made TreeScope::baseURL virtual #
Messages
Total messages: 9 (0 generated)
|