Here is how to quickly reproduce the bug: Electron fiddle: https://gist.github.com/josephernest/f3db7d319af407b2dcef04c7c1c514ee

____

I have a `#topleft` red title bar containing multiple "tab" buttons that should fill all the available space *except* a `#topright` blue block.  
It is possible to move the main Electron window by click-and-dragging on `#topleft`'s red background, thanks to `-webkit-app-region: drag;`. This works.

[![enter image description here][1]][1]

**Problems**: 

1. clicks on `#topright` are ignored: `alert()` is not triggered  (same problem for child elements of this block)
2. `#topright span:hover { background-color: black; }` is ignored 
3. `#topright { -webkit-app-region: no-drag; }` is ignored: we can still move the window by click-and-dragging on `#topright` whereas it should not

However if we run the same HTML code *in a browser*, all is working correctly.

  [1]: https://i.stack.imgur.com/ZZPsJ.png
shell/browser/native_browser_view_views.cc
auto* iwc_view = GetInspectableWebContentsView();
  if (!iwc_view)
    return;
  auto* view = iwc_view->GetView();
  view->SetBoundsRect(bounds);
  ResetAutoResizeProportions();
}
gfx::Rect NativeBrowserViewViews::GetBounds() {
  auto* iwc_view = GetInspectableWebContentsView();
  if (!iwc_view)
    return gfx::Rect();
  return iwc_view->GetView()->bounds();
}
void NativeBrowserViewViews::SetBackgroundColor(SkColor color) {
  auto* iwc_view = GetInspectableWebContentsView();
  if (!iwc_view)
    return;
  auto* view = iwc_view->GetView();
  view->SetBackground(views::CreateSolidBackground(color));
  view->SchedulePaint();
}
NativeBrowserView* NativeBrowserView::Create(
    InspectableWebContents* inspectable_web_contents) {
  return new NativeBrowserViewViews(inspectable_web_contents);
}
}