layer at (0,0) size 800x600
  RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
  RenderBlock {HTML} at (0,0) size 800x600
    RenderBody {BODY} at (8,8) size 784x584
      RenderBlock {P} at (0,0) size 784x60
        RenderText {#text} at (0,0) size 458x19
          text run at (0,0) width 458: "This tests that bidirectional text is correctly rendered in popup controls."
        RenderBR {BR} at (457,15) size 1x0
        RenderText {#text} at (0,20) size 773x39
          text run at (0,20) width 773: "The order of the text below each popup button should match the order of the select's option text, and the order of the text"
          text run at (0,40) width 124: "in the popup menu."
      RenderBlock (anonymous) at (0,76) size 784x44
        RenderText {#text} at (0,0) size 286x19
          text run at (0,0) width 286: "1) direction: rtl; -webkit-rtl-ordering: logical"
        RenderBR {BR} at (285,15) size 1x0
        RenderMenuList {SELECT} at (0,22) size 100x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
          RenderBlock (anonymous) at (6,2) size 88x16
            RenderText at (14,0) size 54x14
              text run at (14,0) width 37 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
              text run at (50,0) width 18: "abc"
        RenderBR {BR} at (100,35) size 0x0
      RenderBlock {DIV} at (0,120) size 100x20
        RenderText {#text} at (0,0) size 69x19
          text run at (0,0) width 23: "abc"
          text run at (22,0) width 47 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
      RenderBlock (anonymous) at (0,140) size 784x64
        RenderBR {BR} at (0,0) size 0x19
        RenderText {#text} at (0,20) size 118x19
          text run at (0,20) width 118: "2) text-align: right"
        RenderBR {BR} at (117,35) size 1x0
        RenderMenuList {SELECT} at (0,42) size 200x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
          RenderBlock (anonymous) at (6,2) size 188x16
            RenderText at (0,0) size 54x14
              text run at (0,0) width 18: "abc"
              text run at (17,0) width 37 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
        RenderBR {BR} at (200,55) size 0x0
      RenderBlock {DIV} at (0,204) size 200x20
        RenderText {#text} at (0,0) size 69x19
          text run at (0,0) width 23: "abc"
          text run at (22,0) width 47 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
      RenderBlock (anonymous) at (0,224) size 784x64
        RenderBR {BR} at (0,0) size 0x19
        RenderText {#text} at (0,20) size 72x19
          text run at (0,20) width 72: "3) No style"
        RenderBR {BR} at (71,35) size 1x0
        RenderMenuList {SELECT} at (0,42) size 100x20 [bgcolor=#FFFFFF02] [border: (1px solid #4C4C4C)]
          RenderBlock (anonymous) at (6,2) size 88x16
            RenderText at (0,0) size 54x14
              text run at (0,0) width 18: "abc"
              text run at (17,0) width 37 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
        RenderBR {BR} at (100,55) size 0x0
      RenderBlock {DIV} at (0,288) size 100x20
        RenderText {#text} at (0,0) size 69x19
          text run at (0,0) width 23: "abc"
          text run at (22,0) width 47 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
      RenderBlock (anonymous) at (0,308) size 784x20
        RenderBR {BR} at (0,0) size 0x19
